[MAGNOLIA-2744] dialogs: tree browser doesn't open the selected item Created: 25/May/09  Updated: 23/Jan/13  Resolved: 29/May/09

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 4.0.1
Fix Version/s: 4.1, 4.0.2

Type: Bug Priority: Major
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
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   

The tree browser (select page, document, ...) does not open the selected path properly.

The reason is that mgnlDialogLinkOpenBrowser in dialog.js does always pass the pathOpen which is the current page (in case of paragraph editing). The open path parameter has then higher priority over the selected parameter.

I can easily fix that in the js method but not sure when something (in the Tree class?) changed to raise that problem.



 Comments   
Comment by Philipp Bärfuss [ 25/May/09 ]

I have committed the fix but don't resolve as I am not sure if the fix is correct and not just yet another workaround.

Comment by Philipp Bärfuss [ 09/Jun/09 ]

back ported to 4.0 branch too

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