[MGNLUI-314] Content workbench actions should update path in uri fragment Created: 24/Aug/12  Updated: 02/Jul/13  Resolved: 01/Jul/13

Status: Closed
Project: Magnolia UI
Component/s: content app
Affects Version/s: 5.0
Fix Version/s: 5.0.1

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

Issue Links:
Cloners
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:

 Description   

We must ensure that performing certain actions on the workbench also updates uri fragment, ie

  • select node /foo
  • path in uri fragment will be /foo
  • delete it
  • uri fragment should no longer display /foo rather be reset to info.magnolia.ui.model.workbench.definition.WorkbenchDefinition.getPath()


 Comments   
Comment by Jozef Chocholacek [ 01/Jul/13 ]

In most content apps (Pages, Assets, ...) we use MarkAsDeleted command, so the actual content is not deleted immediately, just marked, and keeps the selection - thus the path in URI can be preserved.

In the Configuration app, where the direct deletion is used, the problem does not exit - the item is deleted and selection (thus the path in URI) set to "/".

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