Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26679

Infinite spinning wheel if translating to a language with a big language code

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • QA tracked issues
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: