Editor v1.5.2, .Net code issue - the type paging and ordering values have has changed
Editor v1.5.2, .Net code issue - the type paging and ordering values have has changed
jmo21
Posts: 13Questions: 3Answers: 0
the draw section in DTRequest.cs throws a System.InvalidCastException at line 238:
Start = (int)http["start"];
the http["start"] is coming through as a string now (eg "0"), whereas it used to come through as an int.
Changing this line of code to the following fixes the issue:
Start = int.Parse(http["start"].ToString());
Similar issue on line 252:
Column = (int)order["column"],
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi - thanks for flagging this up! Really sorry for this error.
The error was introduced in the
_HttpConv
function (same class -DTRequest
). If you search for:and replace with:
That will correct the error.
It will be in 1.5.3 which will be released in the next week or two.
Regards,
Allan
thanks Allan!