Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1764

Unable to edit Landing Page with Schedule Block with removed content

    XMLWordPrintable

Details

    Description

      It's almost the same issue as: https://jira.ez.no/browse/EZEE-1746 and https://jira.ez.no/browse/EZEE-1758 , but with Schedule Block instead of Collection block.
      (it means that it also breaks UDW navigation).

      It is impossible to edit Landing Page which contains Schedule Block if some element assigned to the Schedule Block was removed.

      Steps to reproduce

      1. Edit Landing Page and add Schedule Block
      2. Add some content to Schedule Block, for e.g. Article A
      3. Publish Landing Page
      4. Go to Content -> Content structure, find Article A
      5. Move Article A to the trash, and then empty trash
      6. Try to open your Landing Page (in my example just Home).

      It is impossible to do it in both Page and Content mode.
      When opening UDW the displayed locations fail to load with error:

      {
          "ErrorMessage": {
              "_media-type": "application/vnd.ez.api.ErrorMessage+json",
              "errorCode": 404,
              "errorMessage": "Not Found",
              "errorDescription": "Could not find 'Content' with identifier 'array (\n  'id' => 94,\n  'languages' => NULL,\n  'versionNo' => 14,\n)'",
              "Previous": {
                  "_media-type": "application/vnd.ez.api.ErrorMessage+json",
                  "ErrorMessage": {
                      "_media-type": "application/vnd.ez.api.ErrorMessage+json",
                      "errorCode": 404,
                      "errorMessage": "Not Found",
                      "errorDescription": "Could not find 'Content' with identifier '62'",
                      "Previous": {
                          "_media-type": "application/vnd.ez.api.ErrorMessage+json",
                          "ErrorMessage": {
                              "_media-type": "application/vnd.ez.api.ErrorMessage+json",
                              "errorCode": 404,
                              "errorMessage": "Not Found",
                              "errorDescription": "Could not find 'content' with identifier 'id: 62'"
                          }
                      }
                  }
              }
          }
      }
      

      Note:
      This can be easily reproduced by deleting the "Mexican Cuisine" in demo version.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: