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

When passing incorrect languageCode in URI for location view content is loaded with main language

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Run PlatformUI
      2. Select any content from content tree
      3. In URI there is languageCode passed, for example 'eng-GB', change it to anything else: 'blabla' (or other not existing translation: 'jpn-JP') and push enter
      4. The content is in main language, however there is no info about that it's not the language you wanted to load. What's more, inserted string is displayed as selected in languageSwitch (screenshot attached)

      The same will be when user is creating new translation (which uses editContentView) will cancel edit view. App will navigate in that case to the location view with languageCode taken from edit view, so then we have case when location view is trying to show content in not yet existing language.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.hyndle-obsolete@ez.no Mateusz Hyndle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: