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

Content with custom URL alias defined becomes unavailable after moving when its parent is removed

    XMLWordPrintable

Details

    • [3.1] - Sprint 1

    Description

      When we move content which we define custom URL alias for and remove its former parent the content becomes inaccessible.

      Steps to reproduce:
      1. Create a folder "test".
      2. Create a new Landing Page under "test" and name it "test-lp".
      3. Create a new custom URL alias for "test-lp". Mark option "Place alias at the site root" as disabled.
      4. Move "test-lp" under another location.
      5. Remove "test".
      6. Try to access "test-lp" in the BO.

      Result:
      You will be presented with the following error:

      An exception has been thrown during the rendering of a template ("Argument 'id' has a bad state: Unable to load path data, the path ...'custom_url' is broken, alias id '65' not found. To fix all broken paths run the ezplatform:urls:regenerate-aliases command").
      

      See stacktrace.png for further reference.

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: