tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42390] JSP compilation error with nested tagfile tags with variables with "AT_BEGIN" scope
Date Sat, 03 Jan 2009 03:14:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=42390





--- Comment #3 from Konstantin Kolinko <knst.kolinko@gmail.com>  2009-01-02 19:14:26
PST ---
Created an attachment (id=23072)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23072)
patch for tc6.0.x that fixes the issue

I am attaching patch that fixes the issue. It is against the tc6.0.x branch.

The cause was that scripting var info of the nested Node.CustomTag was not
populated by ScriptingVariableVisitor#setScriptingVars() call.

It occurred because it thought that the variable was already declared, because
it was present in ScriptingVariableVisitor#scriptVars, because the same
instance of ScriptingVariableVisitor was used for the parent and child.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message