Summary: | Select statements with no rows selected problem | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Lukasz Pazdziorek <pazdzior> |
Component: | DBTags Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | pazdzior |
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Test case (based on examples and using hsqldb)
Buggy output Right output after the fix |
Description
Lukasz Pazdziorek
2003-07-16 11:24:30 UTC
Here is an dbtags-example page (sql statement is shown on the page) Prove that an empty resultset executes the wasEmpty tag select id, name, description from test_books where id > 1000 No rows retrieved. That's the same proble as bug 26863 (and it's fixed as well). I will attached a better test case and results and then mark this bug as duplicated. Created attachment 10572 [details]
Test case (based on examples and using hsqldb)
Created attachment 10573 [details]
Buggy output
Created attachment 10574 [details]
Right output after the fix
|