Details

      Description

      When removing content I get the exception "Could not find 'Content' with identifier '[ID]'". The problem seems to be that SignalSlot/ContentService.php deleteContent() first deletes the content, and then emits a DeleteContentSignal:
      https://github.com/ezsystems/ezpublish-kernel/blob/3ab82f6adc9441b2ccf11bd21c00509f423d7c28/eZ/Publish/Core/SignalSlot/ContentService.php#L289

      Later on, when this signal is received, HTTP cache is purged, and in the process ContentService::loadContentInfo() is called:
      https://github.com/ezsystems/ezpublish-kernel/blob/3ab82f6adc9441b2ccf11bd21c00509f423d7c28/eZ/Publish/Core/MVC/Symfony/Cache/Http/InstantCachePurger.php#L69

      But at this point the content no longer exists.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gunnstein.lye@ez.no Gunnstein Lye
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 30 minutes
                  4h 30m