Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.28
-
None
-
None
-
Empty show more show less
-
Yes
-
Yes
-
Nucleus 32
-
2
Description
Steps to reproduce
- Configure a content type with a date field
- Configure a default app uses that content type
- Open configured app and create an item, choose a date value and save the item
- Reopen saved item to see that the date field has not been retrieved nor populated
- Edit some content, not the date field, then save it
- Double check from JCR to see that the date field content has been wiped out to an empty value
Expected results
- Date field should be populated and stored correctly
- Do not loose customers' content
Actual results
- See above
Workaround
- use decoration to use jcrMultiField instead of jcrMultiValueField (on 6.3 one can use multiValueField)
!content-type:breakOffer name: breakOffer-app label: Break Offer subApps: detail: form: properties: dates: $type: jcrMultiField
Development notes
- Logs:
2023-02-24 14:39:11,416 WARN .apache.commons.beanutils.converters.DateConverter: DateConverter does not support default String to 'Date' conversion. 2023-02-24 14:39:11,417 WARN .apache.commons.beanutils.converters.DateConverter: (N.B. Re-configure Converter or use alternative implementation)
- Stackoverflow: https://stackoverflow.com/questions/5757242/java-beanutilsbean-convert-date-to-string
- This may happen due to updated in the library and the backward compatibility of the newer versions with its previous one.
- Example content type definition: breakOffer.yaml
- Example content app using content type: breakOffer-app.yaml
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-6439 Cannot set new property type
-
- Closed
-
- causes
-
MGNLUI-7970 Use same field in 6.3 as in 6.2 for multiple dates in CT apps
-
- Closed
-
- relates to
-
MGNLUI-7960 Replace deprecated jcrMultiValueField by multiValueField in CT generated apps
-
- Open
-
1.
|
Implementation |
|
Completed | Adam Siska | ||||||||
2.
|
Code review |
|
Completed | Quach Hao Thien | ||||||||
3.
|
Preint QA |
|
Completed | Sang Ngo Huu |
|
|||||||
4.
|
QA |
|
Closed | AntonĂn Juran |