Summary: | error in ResultSetTag if ResultSet is empty | ||
---|---|---|---|
Product: | Taglibs | Reporter: | ttor |
Component: | DBTags Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | JSmith, mvdijken, pazdzior, sqlweb2000, tivv |
Priority: | P3 | ||
Version: | 1.0B1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | other | ||
Attachments: |
JSP page that reproduces the error (must have hsqldb.jar on WEB-INF/lib)
Output of the test case with dbtags-b1.jar Output of the test case after the patch |
Description
ttor
2004-02-11 16:41:26 UTC
Hmm, that looks like a container caching problem, similar to bug belo (on <c:out>): http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26320 Yes, this is the bug I've reported long ago: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16830. I've even created a fix, but noone seems to care. Ok, I did a fix similar to that one mentioned on bug 26320: I'm calling super.bodyContent = null at doStartTag(). Is that the fix you have in mind? Created attachment 10555 [details]
JSP page that reproduces the error (must have hsqldb.jar on WEB-INF/lib)
Created attachment 10556 [details]
Output of the test case with dbtags-b1.jar
Created attachment 10557 [details]
Output of the test case after the patch
Committed change on CVS (will appear on next nightly build) *** Bug 21647 has been marked as a duplicate of this bug. *** *** Bug 18767 has been marked as a duplicate of this bug. *** *** Bug 22927 has been marked as a duplicate of this bug. *** *** Bug 4877 has been marked as a duplicate of this bug. *** |