You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2023/06/23 17:07:14 UTC

[PR] JSPWIKI-388 - ParamTag loops forever when parent tag is not ParamHandler (jspwiki)

arturobernalg opened a new pull request, #289:
URL: https://github.com/apache/jspwiki/pull/289

   This commit addresses an issue in the ParamTag class where, if the parent tag was not an instance of ParamHandler, an infinite loop would occur. This was due to the 'getParent()' method always returning the same object.
   
   The fix involves getting the parent of the current tag in the loop, thereby ensuring that we keep moving up the tree until we find a parent that is a ParamHandler or until we run out of parents. This prevents the possibility of an infinite loop and provides a more robust handling of the tag structure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jspwiki.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org