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

Discarding content draft, and deleting Users does not correctly update Solr index

    Details

      Description

      Content would not be returned anymore via solr when you save then discard a draft of that content.

      As a workaround you can comment out following signal-slot
      https://github.com/ezsystems/ezpublish-kernel/blob/6.4/eZ/Publish/Core/settings/search_engines/slots.yml#L48

      Other issues found while working on this:

      • DeleteContent does not correctly update the tree, this is used by UI when deleting Users
      • API calls by custom script against UserService will not update Solr on User/UserGroup deletion
      • And some cleanup on how trashing info is passed to Search engine

      Note for 5.4: These things are only relevant on API use, not via legacy admin.

        Issue Links

          Activity

          Show
          André Rømcke added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/1759
          Show
          André Rømcke added a comment - - edited Merged. Kernel: https://github.com/ezsystems/ezpublish-kernel/commit/fae68bf1807d0a341c8612104723520ebc3d8fc1 Solr (only for 1.1 as this part of the fix has not been reported, can optionally be backported to 1.0 once fix above has trickled into all supported kernel branches for 1.0) : https://github.com/ezsystems/ezplatform-solr-search-engine/commit/5261b1d7f44adb834f07baefe7b6f58e844fd59b Tests: https://github.com/ezsystems/ezpublish-kernel/commit/413239f90c54eca095a49445a27f73187064c363 https://github.com/ezsystems/ezpublish-kernel/commit/675284a2b268740b4c6526370294c9549c737c3d
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment -

          QA Approved

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - QA Approved
          Hide
          Miguel das Neves Jacinto (Inactive) added a comment -

          Tested on version 5.4, 1.3, 1.4 and 1.5

          Show
          Miguel das Neves Jacinto (Inactive) added a comment - Tested on version 5.4, 1.3, 1.4 and 1.5
          Hide
          Paulo Nunes (Inactive) added a comment -

          Follow-up in EZP-26228

          Show
          Paulo Nunes (Inactive) added a comment - Follow-up in EZP-26228

            People

            • Assignee:
              Unassigned
              Reporter:
              Łukasz Serwatka
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: