[MGNLUI-2790] defaultValue does not work in Page Dialogs Created: 03/Apr/14  Updated: 14/Mar/16  Resolved: 14/Mar/16

Status: Closed
Project: Magnolia UI
Component/s: pages app
Affects Version/s: 5.2.2, 5.3, 5.3.11, 5.4
Fix Version/s: None

Type: Bug Priority: Major
Reporter: domenico cianniello Assignee: Roman Kovařík
Resolution: Won't Fix Votes: 3
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by PAGES-61 DefaultValue does not work for page p... Closed
causality
is causing MGNLCE-28 Adjust tests to PAGES-61 ( MGNLUI-2790) Closed
is causing MGNLEE-430 Adjust tests to PAGES-61 (MGNLUI-2790) Closed
duplicate
is duplicated by MGNLUI-3174 Default value setting doesn't work fo... 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:
Story Points: 5

 Description   

defaultValue does not work in Page Dialogs; the field is not displayed with the same value assigned to property 'defaultValue' into the correspondent dialog field.



 Comments   
Comment by Roman Kovařík [ 14/Mar/16 ]

The problem is that the page is created via Add page action. If you edit the page properties, the default values are not taken into account since the item is not an instance of JcrNewItemAdapter anymore so the default values are not used.
This will be improved in Magnolia 5.4 only, see PAGES-61.

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