[MGNLUI-461] Actionbar: updateActionbar method should be called when an item is deleted. Created: 21/Dec/12  Updated: 27/Jun/13  Resolved: 27/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: framework, tree/list, user interaction
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: framework
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-975 Support for configuring action availa... 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
Sprint: Beta 3

 Description   

AbstractCongtentSubApp.updateActionbar is not called when a list/tree/thumbnail item is deleted. Ideally, this method should be called ANY TIME the selection in the views changes.

This causes a problem specifically in Assets app.
Generally, when no item is selected, then the updateActionbar will configure the actionbar to show the appropriate actions.
If I select a folder, then I correctly get actions to "Rename folder" and "Delete folder".
But if I then delete the folder, then no items will be selected any more, and therefore the actionBar should update to not give me the "Rename folder" and "Delete folder" options. But currently these options remain available.


Generated at Mon Feb 12 08:37:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.