Anonymous | Login | Signup for a new account | 12-17-2024 10:55 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003436 | [Resin] | major | always | 04-06-09 08:11 | 11-02-09 18:23 | ||||
Reporter | paru | View Status | public | ||||||
Assigned To | |||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.9 | ||||||
Summary | 0003436: findAncestorWithClass() does not return parent classic tag instance within classic tag embedded in a tag file | ||||||||
Description |
Please imagine the following web application: - a bodyful classic tag A within a tag library - a tag file B which uses the classic tag A - a regular jsp, which uses tag file B, surrounded by classic tag A Within the classic tag findAncestorWithClass(this, A.class) is called and printed to the JspWriter. The outer classic tag instance of A correctly returns null in this case. The inner classic tag instance of A also returns null. This seems to be not correct, I expected that resin should return the outer tag instance. |
||||||||
Additional Information |
Please have a look at the attached example war (with sources). When accessing index.jsp, resin 3.1.9 (snapshot) outputs the following: -- classicTest begin findAncestorWithClass() returns null -- Tag file begin findAncestorWithClass() returns null -- tag file end -- classicTest end In comparison to tomcat 5.5: -- classicTest begin findAncestorWithClass() returns null -- Tag file begin findAncestorWithClass() returns classictag.ClassicTag@e77781 -- tag file end -- classicTest end ...and WebSphere 6.1: -- classicTest begin findAncestorWithClass() returns null -- Tag file begin findAncestorWithClass() returns classictag.ClassicTag@ec2de5 -- tag file end -- classicTest end |
||||||||
Attached Files | TagAdapterTest.war [^] (3,900 bytes) 04-06-09 08:11 | ||||||||
|
Notes | |
(0004095) paru 07-16-09 04:18 |
Is there any estimation when this bug will be fixed? It's quite important for us and our customers which use Resin. |
(0004277) alex 11-02-09 18:23 |
jsp/1o2(0,1) |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 29 unique queries executed. |