Changing the datatype of a property from TEXT/INTEGER/... to REFERENCE causes the server to return wrong datatype for existing properties
Summary
The server returns the new datatype instead of the actually existing old datatype.
Expected Behavior
The original datatype should be returned, something like:
<Property datatype="TEXT" id="152" name="contact" description="Where did we meet this person?" importance="FIX">
payload text
...
</Property>
Actual Behavior
The new datatype is returned:
<Property datatype="Event" id="152" name="contact" description="Where did we meet this person?" importance="FIX">
payload text
...
</Property>
Steps to Reproduce the Problem
- Create Property p with datatype TEXT.
- Create Record which has p="foo".
- Change Property p to be of datatype REFERENCE to dome RecordType.
- Retrieve Record from step 2.
Specifications
- Version: Latest demo server
- Platform:
Possible fixes
Look up from which table the property comes, maybe?