Details
-
Bug
-
Resolution: Fixed
-
Critical
-
8.3
-
Unknown
-
N/A
-
N/A
-
Description
(See the 3 attached xar files)
Steps to reproduce:
- Import class-date.xar
- Import data-date.xar
- Go to Accounts/TestInstance/?editor=object and see the test property of type date with a date value
- Import class-string.xar (thus triggering a conversion of the test property from date to string)
- Go to Accounts/TestInstance/?editor=object and see the test property of type string with a successfully converted string value
- Import class-data.xar (thus triggering a conversion of the test property from string to date)
- Go to Accounts/TestInstance/?editor=object and see the test property of type date with a failed conversion and an empty value, thus losing the data.
Expected result:
If the conversion fails, the old data should be preserved as a deprecated property value stored in the object, just like it happens when you manually remove and then add a property with the same name (i.e. manually changing the type of a property).