You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Brian Heston (JIRA)" <ji...@apache.org> on 2010/06/18 04:16:26 UTC
[jira] Created: (TAP5-1192) Ajax update memory leak fix throws
exception
Ajax update memory leak fix throws exception
--------------------------------------------
Key: TAP5-1192
URL: https://issues.apache.org/jira/browse/TAP5-1192
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.2.0
Reporter: Brian Heston
Priority: Critical
The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-1192) IE 8 throws an exception while purging
JavaScript event handlers from elements as they are destroyed
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-1192:
---------------------------------------
Summary: IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed (was: Ajax update memory leak fix throws exception)
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-1192) Ajax update memory leak fix throws
exception
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAP5-1192:
------------------------------------------
Assignee: Howard M. Lewis Ship
> Ajax update memory leak fix throws exception
> --------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-1192) Ajax update memory leak fix throws
exception
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAP5-1192:
------------------------------------------
Assignee: Howard M. Lewis Ship
> Ajax update memory leak fix throws exception
> --------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-1192) IE 8 throws an exception while purging
JavaScript event handlers from elements as they are destroyed
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-1192.
--------------------------------------
Fix Version/s: 5.2.1
Resolution: Fixed
Iterating backwards through the names should resolve the problem.
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Fix For: 5.2.1
>
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-1192) IE 8 throws an exception while purging
JavaScript event handlers from elements as they are destroyed
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-1192:
---------------------------------------
Summary: IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed (was: Ajax update memory leak fix throws exception)
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1192) IE 8 throws an exception while
purging JavaScript event handlers from elements as they are destroyed
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904742#action_12904742 ]
Hudson commented on TAP5-1192:
------------------------------
Integrated in tapestry-5.2-freestyle #184 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/184/])
TAP5-1192: IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Fix For: 5.2.1
>
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1192) Ajax update memory leak fix throws
exception
Posted by "Brian Heston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891257#action_12891257 ]
Brian Heston commented on TAP5-1192:
------------------------------------
This is a nice quick one to solve and would really help a lot so I don't have to figure out a hack until it's resolved correctly. Please take a look.
> Ajax update memory leak fix throws exception
> --------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1192) Ajax update memory leak fix throws
exception
Posted by "Brian Heston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891257#action_12891257 ]
Brian Heston commented on TAP5-1192:
------------------------------------
This is a nice quick one to solve and would really help a lot so I don't have to figure out a hack until it's resolved correctly. Please take a look.
> Ajax update memory leak fix throws exception
> --------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Priority: Critical
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1192) IE 8 throws an exception while
purging JavaScript event handlers from elements as they are destroyed
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904742#action_12904742 ]
Hudson commented on TAP5-1192:
------------------------------
Integrated in tapestry-5.2-freestyle #184 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/184/])
TAP5-1192: IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Fix For: 5.2.1
>
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-1192) IE 8 throws an exception while purging
JavaScript event handlers from elements as they are destroyed
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-1192.
--------------------------------------
Fix Version/s: 5.2.1
Resolution: Fixed
Iterating backwards through the names should resolve the problem.
> IE 8 throws an exception while purging JavaScript event handlers from elements as they are destroyed
> ----------------------------------------------------------------------------------------------------
>
> Key: TAP5-1192
> URL: https://issues.apache.org/jira/browse/TAP5-1192
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.0
> Reporter: Brian Heston
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Fix For: 5.2.1
>
>
> The fix for TAP5-1147 causes an exception when it finds an element with a function for an attribute value under IE 8. In the purge function in tapestry.js starting at line 640, the count of attributes is kept in a variable, then the attributes are processed starting at the beginning. When an attribute is found where the value is a function, the attribute is removed and the count of attributes changes. When the loop gets to the end, an exception is thrown because attrs[i] is undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.