[MGNLUI-2959] Selecting an item with the checkbox issues UnsupportedOperationException Created: 02/Jun/14  Updated: 06/Jun/14  Resolved: 05/Jun/14

Status: Closed
Project: Magnolia UI
Component/s: workbench
Affects Version/s: None
Fix Version/s: 5.3

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
supersedes MGNLUI-1521 Root item is kept in set of selected ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

To reproduce

  • open Pages app
  • select a row with the checkbox
    Outcome:
  • the row is selected but an exception is logged while trying to remove the root element from an unmodifiable collection
    ERROR nfo.magnolia.ui.workbench.AbstractContentPresenter: An error occurred while selecting a row in the data grid
    java.lang.UnsupportedOperationException
    	at java.util.Collections$UnmodifiableCollection$1.remove(Collections.java:1010)
    	at info.magnolia.ui.workbench.AbstractContentPresenterBase.onItemSelection(AbstractContentPresenterBase.java:134)
    

Generated at Mon Feb 12 09:01:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.