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

Delete content breaks content listing

    XMLWordPrintable

Details

    Description

      On eZ Platform/eZ Enterprise 1.3.2 and 1.4.1 we will not be able to list users anymore, if we delete a user from the list.
      This seems to happen when we use Solr.

      See attached screenshot. This screenshot is about deleting a user but it applies to all content.

      Steps to reproduce:

      1. Go to a user
      2. Delete the user
      3. Try to navigate to the list of users (the page with the user was previously on fails to load)

      This is a critical issue resulting in Admin breaking if any content is deleted by any user. Not just deleting users.

      Post source:

      {"ViewInput":{"identifier":"subitems-14","public":false,"LocationQuery":{"Criteria":{"ParentLocationIdCriterion"
      :14},"FacetBuilders":{},"SortClauses":{"LocationPath":"ascending"},"offset":0,"limit":10}}}
      

      Response:

      {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":404,"errorMessage"
      :"Not Found","errorDescription":"Could not find 'content' with identifier 'id: 55'"}}
      

      This seems to be related to EZP-25003 and EZP-25882 helps understanding why this is an issue related to Solr.
      Tried to clear all cache, and the issue doesn't seem a cache issue.

      Attachments

        1. After Delete User on 1.4.1.png
          38 kB
          Ricardo Correia
        2. Delete User on 1.3.2.png
          63 kB
          Ricardo Correia
        3. Delete User on 1.4.1.png
          61 kB
          Ricardo Correia

        Activity

          People

            Unassigned Unassigned
            ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: