Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
Description
Upgraded to Grails-UI-1.1-SNAPSHOT and after that, I got the following error in my firebug console:
too much recursion
http://10.0.0.100:8082/AdminTool/plugins/grails-ui-1.1-SNAPSHOT/js/grailsui/grailsui.js
Line 48
I traced it down to the function: GRAILSUI.util.replaceDateStringsWithRealDates = function(inputData), where it seems that when iterating through data to find Date objects, recursion continues into functions as well. I have made a small patch (attached) which solved this problem by avoiding recursion when the next element is a function, thus not copying functions to the new data array.
Hope this patch will do.
Attachments
Issue Links
| This issue duplicates: | ||||
| GPUI-28 | "Too much recursion" in grailsui.js when prototype.js added to page with DataTable |
|
|
|
thank you very much.