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

When swapping Locations with the same name and parent, URL aliases are not swapped as well

    Details

      Description

      Currently, when swapping Locations with the same name and parent, URL aliases are not swapped as well. This results in situations when the Editor cannot effectively swap the Locations for a Content.
      This behaviour was correct in eZ Publish 5.4.

      Steps to reproduce

      1. Create fresh eZ Platform installation.
      2. Under "Home", create Article Content Object named "ArticleA". In the intro field, put "First Article".
      3. Under "Home", create another Article Content Object named "ArticleA". In the intro field, put "Second Article".
      4. Confirm that after accessing "your-site.example/ArticleA" there is "First Article" shown in the intro field.
      5. Confirm that after accessing "your-site.example/ArticleA2" there is "Second Article" shown in the intro field.
      6. In the Platform UI, swap the locations of these two Articles (using "Location Content Swap" from "Locations" tab).
      7. Confirm that after accessing "your-site.example/ArticleA" there is "First Article" shown in the intro field. It should show "Second Article" since the Locations have been swapped.
      8. Confirm that after accessing "your-site.example/ArticleA2" there is "Second Article" shown in the intro field. It should show "First Article" since the Locations have been swapped.

        Issue Links

          Activity

          Show
          Jacek Foremski (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2297
          Show
          Jacek Foremski (Inactive) added a comment - PR merged: 1.7: https://github.com/ezsystems/ezpublish-kernel/commit/bec9345d2539040de56ea00ea2c76c4a46846f79 1.13: https://github.com/ezsystems/ezpublish-kernel/commit/239fbca285bd7698c73edfb5f2b67d8be7800b29 2.1: https://github.com/ezsystems/ezpublish-kernel/commit/b8aa70af9079e91ca5fbd0956267030ac2152705 master: https://github.com/ezsystems/ezpublish-kernel/commit/640c23c7a09cfb26c24ae76e27e433082ab1e312
          Hide
          Michał Szołtysek added a comment -

          QA Approved on eZ Platform v1.7.7, 1.11.0.1 (6.11.4.1) with patch, 1.13.2, 2.1.1-rc.

          Show
          Michał Szołtysek added a comment - QA Approved on eZ Platform v1.7.7, 1.11.0.1 (6.11.4.1) with patch, 1.13.2, 2.1.1-rc.
          Hide
          Jacek Foremski (Inactive) added a comment -
          Show
          Jacek Foremski (Inactive) added a comment - PR for the documentation: https://github.com/ezsystems/user-documentation/pull/10

            People

            • Assignee:
              Unassigned
              Reporter:
              Jacek Foremski (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: