Home Unanswered Active Tags New Question

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

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

Asked by Orlando Hernandez 2 years ago.
Replies

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 Ramya 2 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 Dan Letecky 2 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 Chris 2 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.

Comment posted by Dan Letecky 2 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java