[
https://issues.apache.org/jira/browse/TOMAHAWK-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496966
]
Tobias Haubner commented on TOMAHAWK-882:
-----------------------------------------
Grant,
I removed the "Patch Available" status.
> 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.