Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid reference-file path #451

Open
bobalazek opened this issue Jul 13, 2017 · 0 comments
Open

Invalid reference-file path #451

bobalazek opened this issue Jul 13, 2017 · 0 comments

Comments

@bobalazek
Copy link

bobalazek commented Jul 13, 2017

Q A
Bundle version 1.3.2
Symfony version 3.3.4
PHP version 7.1.1

Expected behavior

In the web UI, when you click on one of the sources, you should be able to open it.

Actual behavior

When clicking on a source link, you will get a web profiler exception: The file "/../src/AppBundle/Resources/views/x/y/z.html.twig" cannot be opened.

Steps to reproduce

  • Prepare the bundle and UI
  • Visit the UI
  • Click on a source link

I'm not sure if that's an actual issue or if I just misconfigured something, but I can't seem to get it working. The source link is /../src/AppBundle/..., but it should be src/AppBundle/.....

My config:

jms_translation:
    configs:
        AppBundle:
            dirs:
                - "%kernel.root_dir%/../src/AppBundle"
            output_dir: "%kernel.root_dir%/../src/AppBundle/Resources/translations"
            default_output_format: xliff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant