[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: |
|
||||||||||||
| 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. |