[MGNLUI-3189] With targetTreeRootPath set in a LinkFieldDefintion the chooser dialog does not select a previously choosen target Created: 02/Oct/14  Updated: 05/Dec/14  Resolved: 15/Oct/14

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.3.3
Fix Version/s: 5.3.5

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 2
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
dependency
depends upon MAGNOLIA-5951 Make JcrPropertyServlet create reques... Closed
relation
is related to MGNLUI-2111 LinkFieldDefinition ignores the targe... 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:

 Description   

Configure the "targetTreeRootPath" on a LinkFieldDefinition. After selecting and storing a path, opening the chooser dialog again the previously stored path is not selected anymore and the tree is collapsed as if there was no value stored before.



 Comments   
Comment by Daniel Lipp [ 15/Oct/14 ]

Code-wise the fix looks perfectly fine but I have two remarks:

  • the modifications to JcrPropertyServlet should go to a proper ticket (MAGNOLIA - not MGNLUI one)
  • although the change is covered by a new UI tests we should also add a unit-test. ContentApp doesn't have a single one yet - time to start
Comment by Aleksandr Pchelintcev [ 15/Oct/14 ]
  • Extracted JcrPropertyServlet changes into a separate issue (see linked MAGNOLIA-5951).
  • After a discussion it was decided to hold on with writing a unit test for the issue due to the complexity of the task.
Generated at Mon Feb 12 09:04:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.