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

subtrees with more than 2 levels create bad paths

    Details

      Description

      Regression from EZP-21668.
      Navigating to an object X in a subtree more than 2 levels deep will make all links to other objects include the path of the objects X parent.

      How to reproduce

      Setup a matcher of type Map/URI or a Compound/LogicalAnd including a Map/URI, example:

              match:
                  Map\URI:
                      eng: eng
      

      Create tree with:

      • folder A
      • folder sub.A
      • folder sub.sub.A
      • navigate to object sub.sub.A
      • check again the links, all urls should have "/A/sub.A/...." at the base of the url
      1. 1stlevel.png
        174 kB
      2. 2ndlevel.png
        121 kB
      3. 3rd level.png
        125 kB

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment - - edited

          Install the patch

          What patch ? Please add a link to it (yes, I know what patch, but still).

          So this is only happening on a 5.1 / 5.2 release, with service packs + this patch alone ?

          Show
          Bertrand Dunogier added a comment - - edited Install the patch What patch ? Please add a link to it (yes, I know what patch, but still). So this is only happening on a 5.1 / 5.2 release, with service packs + this patch alone ?
          Hide
          Paulo Bras (Inactive) added a comment -

          yes, after reproducing, if i remove the patch and clear caches the same urls where we can see the problem go back to normal.

          Show
          Paulo Bras (Inactive) added a comment - yes, after reproducing, if i remove the patch and clear caches the same urls where we can see the problem go back to normal.
          Hide
          Paulo Bras (Inactive) added a comment -

          example in images attached:

          1st image: the "closed folder" is selected. the pointer hovers to the "eng-link" folder, all is ok.
          2nd and 3rd images: the sub1 and sub1.1 folder are selected. the pointer on "eng-link" includes the current folder's parents in the path. it's easy to spot comparing the top url (the selected object) with the bottom url(the destination url where the pointer is hovering)

          Show
          Paulo Bras (Inactive) added a comment - example in images attached: 1st image: the "closed folder" is selected. the pointer hovers to the "eng-link" folder, all is ok. 2nd and 3rd images: the sub1 and sub1.1 folder are selected. the pointer on "eng-link" includes the current folder's parents in the path. it's easy to spot comparing the top url (the selected object) with the bottom url(the destination url where the pointer is hovering)
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3 hours
                3h