Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4306

Grid selection in pulse gets inconsistent when switching between categories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6
    • Component/s: admincentral
    • Labels:
    • Epic Link:
    • Sprint:
      Basel 118
    • Story Points:
      1
    • Magnolia Release:
      5.6

      Description

      See also attached screencast.

      To reproduce:

      • go to Pulse and select one message
        • UI will correctly display one item selected
      • switch to Tasks and back to Messages
        • UI will display no selection but pulse footer states that one item is selected
          Try to select more items and the count will be offset

      This can obviously be conducive to confusion and unwanted behaviour, e.g. deleting items you don't actually want to delete.

      After a quick investigation Aleksandr Pchelintcev found out the cause

      it happens cause Message class has no equals/hashcode impl
      you go back and forth, you reload the Grid, the new beans are queried from the backend => your selection isn't there any longer (why footer isn't updated -> that's the internal logic of the presenter)
      just checked the Task class case - same story

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fgrilli Federico Grilli
                Reporter:
                fgrilli Federico Grilli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: