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

Broken nice URLS: Objects without translation X show children as system urls in siteaccess X

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.7.0alpha1
    • 2011.10, 2011.11, 2011.12, 4.4.1, 4.5.0, 4.6.0
    • Language
    • None
    • ezp 4.4.1

    Description

      To be able to see the problem, the setting site.ini -> regionalsettings -> showuntranslatedobjects must not be enabled, and all objects must have the checkbox (located in the tab translations of the object) "Use the main language if there is no prioritized translation" disabled.

      generically, the problem can be described as: if an object A in a tree does not have a translation X, navigating with the siteaccess sit_X that uses that translation to the object A causes the child objects to show with system urls instead of nice urls. same for parent objects.

      Steps to reproduce

      Foo and Bar can be custom or default languages:

      1. install 2 additional languages, Foo and Bar.

      2. create the siteaccesses Foo and Bar. each siteaccess has it's own language plus eng-GB in second place in the SiteLanguageList[] setting

      3. Set the home node with eng-GB, Foo and Bar translations

      4. create a structure of folders with different names for each translation, to best keep track of the objects called:

      Home node : translations for eng,foo,bar

      _ folder(main name:folder in bar, eng translation:folder in bar - uk trans)
      _ folder(main name: folder in foo, eng translation: folder in foo - uk trans)
      _ article (name: article in bar, foo translation: article in bar - foo trans)

      5. in frontend, enter siteaccess foo, and the folder "folder in bar - uk trans" shows up. click on the folder, and the subfolder "folder in foo" shows up. notice that the url for this folder is a system url. click the "folder in foo". the article shows up as "article in bar- foo trans", with a system url.

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            pbr@ez.no pbr@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: