search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

upgrade from version 5.2 to 5.7. Message " Array JsonData Expected. Received:string"

Asked by Orlando Hernandez
14 years ago.

Hi
When you upgrade from version 5.2 to 5.7 I get the following message when doing a postback to the page.

Help please.

Thanks

Comment posted by Ramya
14 years ago.

Hi,

I am using the Daypilot scheduler. I am facing the same problem.

"Array JsonData expected. Received:string"

Can someone help?

Thanks,

Ramya

Comment posted by Dan Letecky
14 years ago.

Could you please try it with the latest release from the sandbox?

http://www.daypilot.org/sandbox/Scheduler/

The latest build is 5.7.1903.

Comment posted by Chris
14 years ago.

I have the scheduler on a particular page. The same error occurs when any postback is called on this page.

Has anyone found a resolution for this?

Comment posted by Dan Letecky
14 years ago.

I've seen a similar error that was caused by an interference with Gaia framework.

Basically, it was caused by an incompatible JSON serialization used in Object.prototype.toJSON added to the global space by Gaia. What they are doing is different from the JSON serialization "standard" implementation available at json.org (their toJSON method produces "[...]" instead of plain [...]).

What they are doing with the prototype object is not correct, I believe. Anyway, I have added a fix for this behavior in DayPilot build 1941.

Please let me know if you experience this issue with the currect build as well.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.