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

Cannot edit Content Type with ezobjectrelation/ezobjectrelationlist with deleted starting location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.5.0, 2.4.2
    • Fix Version/s: 2.3.3, 2.4.3
    • Component/s: None
    • Labels:

      Description

      It's not possible to edit a Content Type with ezobjectrelation field type that has a deleted starting location defined.

      Steps to reproduce:
      1. Login as admin
      2. Go to Admin -> Content Types
      3. Open "Content" group
      4. Start creating a new Content Type. Enter:

      • Name: TestCt
      • Identifier: testct

      5. Add field type: "Content relations (multiple)
      6. Select starting location for that field type: Media/Multimedia
      7. Save
      8. Navigate to "Media/Multimedia" Content
      9. Send it to Trash
      10. Go to Admin -> Content Types -> Content -> TestCt
      11. Click on the pencil to edit

      Result:
      Symfony error:

      An exception has been thrown during the rendering of a template ("Could not find 'location' with identifier '52'") in "@admin/admin/content_type/field_types.html.twig".
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marek.nocon@ez.no Marek NocoĊ„
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: