This question is locked. New answers and comments are not allowed.
Hi, my app is crashing in this method "EVResponse fill:withProperties:" when I add a property of type Array and try to fetch. I have a NSArray in my Objective-C class, and if I set this NSArray and call update, it works. But crashes when I try to fetch.
4 Answers, 1 is accepted
0
Hello Fe,
Indeed, you are correct, I managed to reproduce the issue. It was caused by the deserialization of array fields to the respective property even if the property is correctly assigned as NSArray
Please find attached a development version of the SDK with a fix for this case which you can test until an official release is available. It should correctly deserialize array fields that contain primitive types or JSON objects independent of the length of the array and the members' type.
Let me know if you have questions.
As a small token of gratitude for reporting this I updated your Telerik points.
Also, I removed the duplicated forum threads which were probably submitted by accident.
Edit: Added a new attachment after also fixing the linking error as reported by Fe.
Regards,
Anton Dobrev
Telerik by Progress
Indeed, you are correct, I managed to reproduce the issue. It was caused by the deserialization of array fields to the respective property even if the property is correctly assigned as NSArray
Please find attached a development version of the SDK with a fix for this case which you can test until an official release is available. It should correctly deserialize array fields that contain primitive types or JSON objects independent of the length of the array and the members' type.
Let me know if you have questions.
As a small token of gratitude for reporting this I updated your Telerik points.
Also, I removed the duplicated forum threads which were probably submitted by accident.
Edit: Added a new attachment after also fixing the linking error as reported by Fe.
Regards,
Anton Dobrev
Telerik by Progress
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
0
Fe
Top achievements
Rank 1
answered on 12 Jan 2017, 04:57 PM
Hello Anton,
thank you for the answer and the points. And sorry for the duplicate thread, I'll pay more attention next time.
I've tried to use the attached version of the SDK but I'm getting this error:
MyProject/Frameworks/EverliveSDK.framework/EverliveSDK(EVConstants.o)
linker command failed with exit code 1 (use -v to see invocation)
Can you help me with that too?
0
Accepted
@Fe
I updated the attached file with a fix for the linker error. I am sorry for he inconvenience.
Regards,
Anton Dobrev
Telerik by Progress
I updated the attached file with a fix for the linker error. I am sorry for he inconvenience.
Regards,
Anton Dobrev
Telerik by Progress
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
0
Fe
Top achievements
Rank 1
answered on 13 Jan 2017, 03:13 PM
No problem! I appreciate your attention, is everything working properly now.
Thank you!