[MGNLUI-5891] Root-available actions not recognised in content apps Created: 22/May/20  Updated: 26/Jun/20  Resolved: 03/Jun/20

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

Type: Bug Priority: Medium
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
duplicate
is duplicated by MGNLUI-5906 Actionbar actions disappear in certai... 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
Date of First Response:
Epic Link: UI framework: grids and browsing

 Description   

In a generated content app I have an add item action using OpenDetailSubappActionDefinition.

This is available in the root and is shown as available when I first open my browser subapp. If I use the action to open the detail subapp but then close it using the cancel button, the add item action is shown disabled. I cannot re-open the detail subapp without closing the entire app.

The action is also disabled after creating and saving a new item or editing and saving but I am able to select and then unselect the existing item to restore the action.



 Comments   
Comment by Simon Lutz [ 25/May/20 ]

Can partially be reproduced on travel demo, e.g. personas app that was ported to new framework:

  • Add a persona
  • Close the subapp using the cancel button
  • Notice that 'add persona' is missing in the action bar

Select/unselect an item in the browser will restore the action bar to what is expected.

After adding an item and saving it, the action bar display the correct set of actions.

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