|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3436 | major | always | 04-06-09 08:11 | 11-02-09 18:23 | |
|
|
|||||
| Reporter: | paru | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | urgent | OS Version: | |||
| Status: | closed | Product Version: | 3.1.9 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.2 | ||
|
|
|||||
| 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. |
||||
| Steps To Reproduce: | |||||
| 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 |
||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||