[MAGNOLIA-7869] Date values in definition throw java.lang.IllegalStateException: Unsupported property type in map Created: 27/May/20 Updated: 11/Sep/20 Resolved: 11/Sep/20 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jonathan Ayala | Assignee: | Adam Siska |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 62-UI-2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| 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)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Epic Link: | Migrate apps to new UI framework | ||||
| Sprint: | UI FW 10 | ||||
| Story Points: | 3 | ||||
| Description |
|
When an item of definition has a Date value, definitions app fails and throws the following error: ERROR info.magnolia.ui.framework.ContextProperty$Impl : Failed to dispatch context property change: Failed to create instance of [class info.magnolia.ui.contentapp.browser.ListView] info.magnolia.objectfactory.MgnlInstantiationException: Failed to create instance of [class info.magnolia.ui.contentapp.browser.ListView] Caused by: java.lang.IllegalStateException: Unsupported property type in map !? Wed Sep 08 16:05:00 CEST 2010(class java.util.Date) Steps to reproduce:
The error comes from info.magnolia.config.source.raw.DefinitionRawViewMapWrapper.deriveValue(Object, Object) as there is a reduced variety of allowed types within the if-else statements, which don't include Date, so it may happen with other types as well. This is not happening in 5.7.7 (definitions-app 1.1.4). |
| Comments |
| Comment by Adam Siska [ 07/Sep/20 ] |
|
should go in 6.2.4 not 6.2.3 |