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

Double language in url after having searched a default location for an object relation in class edit module

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: 4.5.0, 4.6.0, 4.7.0, 5.0, 5.1, 5.2, 5.3.4, 5.4.1.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      eZ Publish 4.7

      Description

      When editing a content class in a specific language, if we set the default item for an object relation attribute, the language is specified twice in the url.

      The issue is very easy to reproduce.


      Steps to reproduce:

      1. From the administration interface access the following location: /class/edit/45/(language)/fre-FR
      2. Add an object relation attribute to the class
      3. Set the default selection item by clicking the "Select item" button, and select a content object

      After selecting the content object the URL in the location bar will be:
      /class/edit/45/language/fre-FR//(language)/fre-FR

      The "language" is repeated. And the target translation is also added twice (fre-FR).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gunnstein.lye@ez.no Gunnstein Lye
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: