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

Search results persist after rerunning UDW search method

    Details

      Description

      It is follow up issue for https://jira.ez.no/browse/EZP-25033
      Steps to reproduce:

      1. Go to any content with PlatformUI
      2. Click "Copy" from action bar
      3. UDW shows up, switch to the "Search" tab
      4. Insert search text that have many results so results will be paginated (for example "a" - it should provide more results than limit of the search)
      5. Go to last page with pagination (or another one, just be sure that you are on different page than 1st one)
      6. Close UDW with "Cancel" button
      7. Click again "Copy" button from action bar and switch to the "Search" tab in UDW
      8. You will see that result list contains results from previous search while it should be empty (as search text is not provided)

      The reason of that is probably that location search is trigerred on both `offsetChange` and `searchTextChange` events so it is called twice while `offset` and `searchText` attributes are being reset. Both attribute should be reset when UDW is being closed.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          14m 1 damien.pobel@ez.no 02/Dec/15 4:21 PM
          Confirmed Confirmed InputQ InputQ
          32s 1 damien.pobel@ez.no 02/Dec/15 4:22 PM
          InputQ InputQ Development Development
          5m 36s 1 mateusz.hyndle@ez.no 02/Dec/15 4:28 PM
          Development Development Development Review Development Review
          17h 23m 1 mateusz.hyndle@ez.no 03/Dec/15 9:51 AM
          Development Review Development Review Documentation Review done Documentation Review done
          1d 3h 58m 1 mateusz.hyndle@ez.no 04/Dec/15 1:49 PM
          Documentation Review done Documentation Review done QA QA
          1h 58m 1 rui.silva@ez.no 04/Dec/15 3:48 PM
          QA QA Closed Closed
          52m 10s 1 rui.silva@ez.no 04/Dec/15 4:40 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Mateusz Hyndle (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m