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

Error 500 after restoring related item in another location

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.1.0
    • 2.1.0-beta1, 2.0.2
    • None

    Description

      Preconditions: CT Article (or another CT with ezobjectrelation field) exists in application, at least one content item (container) exists in ezplatform/content_item

      1. Create first article: article1 (path: ezplatform/article1)
      2. Create second article: article2 (path: ezplatform/article2)
      3. Go to edit mode of article1 and put article2 in ezobjectrelation field and click publish
      4. Send article2 to trash
      5. Restore article2 under new parent (from preconditions)
      6. Go to Content structure and click on article1 - there is an error 500:

      An exception has been thrown during the rendering of a template ("Parameter "locationId" for route "_ezpublishLocation" must match "[^/]++" ("" given) to generate a corresponding URL.").

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: