[MGNLUI-342] Workbench always switches to tree view when invoked Created: 05/Dec/12  Updated: 09/Jul/13  Resolved: 09/Jul/13

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

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

Alternative title: Workbench REEEEALLY likes tree view.

The views switch as expected when you click on the view icons. But in other situations, the tree view is always displayed even if the location fragment includes "list" or "thumbnail" instead of tree.
Example:
Open Contacts app.
Switch to Thumbnail view.
Open a Contact.
Close a Contact.

> Whoops. The Main subapp is now in tree view again. Although the url is http://localhost:8080/magnolia-bundled-webapp/.magnolia/admincentral?restartApplication#app:contacts:main;/aeinstein:thumbnail:

The real bug is simply that it shows the correct view.

To also be considered: is that a user would want the view to be exactly as it was - they would want a list or a tree view scrolled as it was. They would want the tree nodes to all be open as they were.



 Comments   
Comment by Christopher Zimmermann [ 05/Mar/13 ]

Re-opening - but a difference is that the URL when the contact is closed is now correct:
http://localhost:8080/magnolia-bundled-webapp/.magnolia/admincentral?restartApplication#app:contacts:main;/:tree:

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