[MGNLUI-6174] FormView#getPropertyValue returns field value without converters applied Created: 01/Sep/20  Updated: 10/Mar/21  Resolved: 10/Mar/21

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

Type: Improvement Priority: Neutral
Reporter: Adam Siska Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-3923 Scheduled date in Pulse is not displa... Closed
relates to MGNLUI-6086 DateField handles time zone from user... 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)
Date of First Response:
Epic Link: UI framework implementation

 Description   

info.magnolia.ui.editor.FormView#getPropertyValue(java.lang.String) returns actual field value, but different value could be persisted when commiting because converters could be involved.

 DateFields are example of fields, where we have default DateConverter which is not involved in this computation, so when using, programmer should convert (time shift) times according the user's preferred  time zone. This is cumbersome and would be avoided if FormView would be able to return final property value as saved eventually by binder.



 Comments   
Comment by Roman Kovařík [ 10/Mar/21 ]

Closing this as this might be an expected behaviour, we might reconsider later.

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