Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 8.3
-
Component/s: Old Core
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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).