Modify ↓
Opened 2 years ago
Closed 2 years ago
#8390 closed defect (duplicate)
SQL error when using PostgreSQL viewing /hours where no tickets exist
| Reported by: | piperad | Owned by: | rjollos |
|---|---|---|---|
| Priority: | normal | Component: | TracHoursPlugin |
| Severity: | normal | Keywords: | postgresql postgres sql syntax error |
| Cc: | Trac Release: | 0.11 |
Description
While this works fine on SQLite the "WHERE ticket IN ()" is invalid for PostgreSQL. As such I have tweaked the code to merely return an empty list in this circumstance. See attached patch.
Attachments (0)
Change History (1)
comment:1 Changed 2 years ago by rjollos
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.


Duplicate of #8391 (which has the patch).