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

          Mateusz Hyndle (Inactive) created issue -
          Mateusz Hyndle (Inactive) made changes -
          Field Original Value New Value
          Link This issue discovered while testing EZP-25033 [ EZP-25033 ]
          Damien Pobel (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Damien Pobel (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Damien Pobel (Inactive) made changes -
          Assignee Mateusz Hyndle [ mateusz.hyndle@ez.no ]
          Damien Pobel (Inactive) made changes -
          Rank Ranked higher
          Mateusz Hyndle (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Mateusz Hyndle (Inactive) made changes -
          Remote Link This issue links to "PR (Web Link)" [ 15892 ]
          Mateusz Hyndle (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour [ 3600 ]
          Worklog Id 57983 [ 57983 ]
          Mateusz Hyndle (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ] 30 minutes [ 1800 ]
          Time Spent 1 hour [ 3600 ] 30 minutes [ 1800 ]
          Worklog Id 57983 [ 57983 ]
          Mateusz Hyndle (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Mateusz Hyndle (Inactive) made changes -
          Remaining Estimate 30 minutes [ 1800 ] 0 minutes [ 0 ]
          Time Spent 30 minutes [ 1800 ] 1 hour, 30 minutes [ 5400 ]
          Worklog Id 57984 [ 57984 ]
          Mateusz Hyndle (Inactive) made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Affects Version/s 2015.11.2 [ 14499 ]
          Fix Version/s 2015.12 [ 14489 ]
          Assignee Mateusz Hyndle [ mateusz.hyndle@ez.no ]
          Rui Silva (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Rui Silva (Inactive) made changes -
          Assignee Rui Silva [ rui.silva@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96833 ] EZEE Development Workflow [ 125343 ]

            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