[MGNLUI-3489] Support field default value for localized properties in all the field types Created: 10/Jul/15  Updated: 30/Jan/17  Resolved: 18/Aug/15

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.4.2

Type: Bug Priority: Major
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-4081 readOnly checkbox doesn't appear in J... Closed
causality
is causing MGNLUI-3634 Multiple locales that sit under the s... Closed
is causing MGNLUI-3633 DelegatingMultiValueSubnodeTransforme... Closed
relation
is related to MGNLUI-3758 Remove usages of AbstractFieldFactory... Closed
is related to MGNLUI-3490 Investigate the possibility to stream... Closed
supersession
supersedes MGNLUI-3451 Checkbox doesn't preserve default val... 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:
Epic Link: Form field attributes handling
Sprint: Sprint 6 (Basel)
Story Points: 8

 Description   

MGNLUI-3451 is just one case of the problem. We need to provide a generic fix for all the fields and ideally revert the changes of MGNLUI-3451.



 Comments   
Comment by Mikaël Geljić [ 10/Aug/15 ]
  • Find out how I18nAuthoringSupport could provide the default/available locales the easiest way (doubts about argument-less methods atm, no node/site context)
  • Do not provide i18nAuthoringSupport via Components.getComponent() in initializeTransformer(), rather adapt the tests
  • Re-add comment about downcasting in the same method
  • FormBuilder - move the locale switching part back to presenter
  • Couple of places with formatting changes in casts
  • then also review relationship w/ FieldFactoryFactory & AbstractFieldFactory
Comment by Aleksandr Pchelintcev [ 19/Aug/15 ]

The fix is now at the branch fix/refactor/MGNLUI-3508-apch (I've spoilt the previous branch a bit with a non-relevant commit).

Comment by Federico Grilli [ 21/Aug/15 ]

erroneously committed under epic ticket MGNLUI-3508 with hash 1833c3eecf7ed48b0fc60546

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