You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tobias Haubner (JIRA)" <de...@myfaces.apache.org> on 2007/05/18 19:17:16 UTC
[jira] Updated: (TOMAHAWK-882) missing setNodeId(null) in
processDecodes()
[ https://issues.apache.org/jira/browse/TOMAHAWK-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Haubner updated TOMAHAWK-882:
------------------------------------
Status: Open (was: Patch Available)
> missing setNodeId(null) in processDecodes()
> -------------------------------------------
>
> Key: TOMAHAWK-882
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-882
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Tree2
> Affects Versions: 1.1.5-SNAPSHOT
> Reporter: Tobias Haubner
> Priority: Critical
>
> At the end of processDecodes() in HtmlTree, nodeId is not set back to null.
> This leads to the tree returning the id of a node, not the id of the tree, when calling getClientId() after processDecodes().
> This e.g. affects AJAX calls from within the tree.
> processUpdates() and processValidators() are correct.
> To avoid such errors in the future it would be even better to change TreeWalkerBase to set nodeId=null at the end of its walk (i.e. in the next() method if next() is false).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.