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

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

    XMLWordPrintable

Details

    Description

      When editing a content class in a specific language, if we set the default item for an object relation attribute we will get a double slash in the URL, for some reason.

      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

      There shouldn't be two slashes after fre-FR.
      Also, "language" is repeated. And the target translation is also added twice (fre-FR).

      Attachments

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 54 minutes
                4h 54m