Details
-
Bug
-
Resolution: Unresolved
-
High
-
1.6.1, 1.7.0, 1.6.2, 1.7.1, 1.8.0, 1.7.2, 1.8.1, 1.9.0-rc
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox 49
Env: Prod
Description
In a translation, If I use a language that has a big language code, I have a infinite spinning whell when trying to publish the translated object
Steps to Reproduce
-Create a new language using "New language" as name and "aaaaaaaaaaaaaaaaaaaaaaaaaaa" as Language code
-create one object (might be a folder) in english
-Translate the created object to the newly created language
-(open your browser developer tools)
-Publish the object
In here, we have a infinite spinning wheel and developer tools display the following error
<?xml version="1.0" encoding="UTF-8"?> <ErrorMessage media-type="application/vnd.ez.api.ErrorMessage+xml"><errorCode>404</errorCode><errorMessage >Not Found</errorMessage><errorDescription>Could not find 'Language' with identifier 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' </errorDescription></ErrorMessage>
Note:
if we go to dashboard, the draft of the translated object that raised the error is there. If we edit the draft and publish it, the error no longer appear.