Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26043

Reset selection when navigating away

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF21, 10.3
    • Component/s: Seam / JSF UI
    • Release Notes Summary:
      The event mainTabsChanged which is raised when switching to another main tab is used to reset document selections.
    • Backlog priority:
      5
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      From 10.3, the list CURRENT_SELECTION is reset when switching between main tabs.
      In 9.10, the following contribution is needed to reset the selection:

      <require>org.nuxeo.ecm.webapp.documentsLists.DefaultDocumentsLists</require>
        <extension target="org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService"
          point="list">
          <documentsList name="CURRENT_SELECTION">
            <events>
              <event>folderishDocumentSelectionChanged</event>
              <event>searchPerformed</event>
              <event>mainTabsChanged</event>
            </events>
            <isSession>false</isSession>
          </documentsList>
        </extension>
      Show
      From 10.3, the list CURRENT_SELECTION is reset when switching between main tabs. In 9.10, the following contribution is needed to reset the selection: <require>org.nuxeo.ecm.webapp.documentsLists.DefaultDocumentsLists</require> <extension target= "org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService" point= "list" > <documentsList name= "CURRENT_SELECTION" > <events> <event>folderishDocumentSelectionChanged</event> <event>searchPerformed</event> <event>mainTabsChanged</event> </events> <isSession> false </isSession> </documentsList> </extension>
    • Sprint:
      nxsupport 10.3.4
    • Story Points:
      2

      Description

      Steps to reproduce:

      1. Go to the default domain
      2. Select the root of workspaces
      3. Navigate to the SEARCH tab
      4. In the result, select any item
      5. Click on "Add to worklist'
      6. Click on the WORKSPACE tab
      7. Observe that 2 items were added to the worklist

      Expected result: only the document selected in the Search tab should be selected.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 3 hours, 35 minutes
                3h 35m