Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components, Framework
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:Support Case #12792 - https://icesoft.my.salesforce.com/5007000000c1GM7
-
Workaround Exists:Yes
-
Workaround Description:
Description
The following issue has been seen by one of our customers:
"one of our pages is getting javascript error Cannot read property 'data-onElementUpdate' on undefined during an ajax request. I have debugged the page and found the problem is in namespace.notifyAllOnElementUpdateCallbacks function. The error is caused in the loop within this function because the ice.onElementUpdate function for the <ace:dateTimeEntry> component which is on this page removes the dateTimeEntry input field and associated calendar image from the DOM which also removes two tags from the elements array within notifyAllOnElementUpdateCallbacks. When the index var i of the for loop gets to the second from last entry, then the var e will be undefined (since max loop index is based on original size of elements array, defined in var l, but size of elements is now reduced by 2)."
"one of our pages is getting javascript error Cannot read property 'data-onElementUpdate' on undefined during an ajax request. I have debugged the page and found the problem is in namespace.notifyAllOnElementUpdateCallbacks function. The error is caused in the loop within this function because the ice.onElementUpdate function for the <ace:dateTimeEntry> component which is on this page removes the dateTimeEntry input field and associated calendar image from the DOM which also removes two tags from the elements array within notifyAllOnElementUpdateCallbacks. When the index var i of the for loop gets to the second from last entry, then the var e will be undefined (since max loop index is based on original size of elements array, defined in var l, but size of elements is now reduced by 2)."
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40899 | Tue Apr 29 13:06:48 MDT 2014 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/core/src/main/javascript/element-update.js
|