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

Too many languages in the dropdown when creating URL alias for a node

    XMLWordPrintable

Details

    Description

      The language dropdown list in the list of node's aliases should only contain the languages that the object exists in. Currently the dropdown contains all translation languages (those listed in Setup - Languages in the admin interface), even though the object is not always available and ShowUntranslatedObjects=disabled for the admin siteaccess.

      Steps to reproduce

      1. Select English, Norwegian and Russian as site languages during eZP installation.
      2. Create an object that exists only in English and Russian languages.
      3. View the object and make sure you uncheck the "Use the main language if there is no prioritized translation" checkbox in the "Translations" window (i.e. make sure the object is not always available).
      4. Settings specified for the admin siteaccess are:

      [RegionalSettings]
      ShowUntranslatedObjects=disabled
      SiteLanguageList[]=eng-GB
      SiteLanguageList[]=nor-NO
      SiteLanguageList[]=rus-RU
      

      5. Select "Advanced - Manage URL aliases" from the node's context menu.
      6. The language dropdown in the list of node's aliases contains English, Norwegian and Russian. Expected behavior: should only contain English and Russian.

      Attachments

        Activity

          People

            dl dl
            js@ez.no js@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: