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

Admin is still using the Search Service when it should not

    XMLWordPrintable

Details

    Description

      Hello,

      According to https://jira.ez.no/browse/EZP-31569 and https://github.com/ezsystems/ezplatform-kernel/pull/54

      Note: the PR is pretty big, so I just rely on the logic:

      The admin should not rely on the Search as indeed, by definition it could be async.

       

      But it does: https://github.com/ezsystems/ezplatform-admin-ui/blob/master/src/bundle/Controller/ContentViewController.php#L204

      `pathService` is using the SearchService: https://github.com/ezsystems/ezplatform-admin-ui/blob/master/src/lib/UI/Service/PathService.php#L38

       

      So the consistency is not ensured.

       

      I don't know if that's a bug or not, but working on a project I was surprised to break the admin working on a Search Handler.

       

      Can you review that or explain what I am missing in EZP-31569 if I am wrong?

       

      Thanks!

       

      Attachments

        Activity

          People

            adam.wojs@ibexa.co Adam Wójs
            plopix plopix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: