schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

The format "yaml~" does not exist. #512

Closed nmateo closed 5 years ago

nmateo commented 5 years ago
Q A
Bundle version 1.4
Symfony version 3.4
PHP version 7.3

Expected behavior

In the JMSTranslation adminisration panel, when selecting a category to edit translation fields, we except to have all the fields and be able to edit them, for some it works but some we got the error

Actual behavior

For some it works but some we got the internal error 500 with this log in console:

Uncaught PHP Exception JMS\TranslationBundle\Exception\InvalidArgumentException: "The format "yaml~" does not exist." at /var/www/Symfony/vendor/jms/translation-bundle/JMS/TranslationBundle/Translation/LoaderManager.php line 85

Steps to reproduce

Install jms translation bundle, go to the admin edit page and try to select categories

goetas commented 5 years ago

I guess that the editor you used to edit the yaml files created a hidden backup file ending with ~

You should make sure that there are no backup files in that folder

nmateo commented 5 years ago

Thank you !!