#2422 closed defect (duplicate)
Report execution fails after upgrade to 0.9/1.0dev Postgres from SQLite
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
After upgrading from 0.8.4 → 0.9, running the database update from sqlite2 → sqlite 3, then dumping the database, and loading it into Postgres; Report number 6 won't work. The following error comes up:
{6} All Tickets By Milestone (Including closed) A more complex example to show how to make advanced reports.
Report execution failed: ERROR: column "modified" does not exist SELECT p.value AS color, t.milestone AS group, (CASE status WHEN 'closed' THEN 'color: #777; background: #ddd; border-color: #ccc;' ELSE (CASE owner WHEN 'anonymous' THEN 'font-weight: bold' END) END) AS style, id AS ticket, summary, component, status, resolution,version, t.type AS type, severity, priority, owner, changetime AS modified, time AS _time,reporter AS _reporter FROM ticket t,enum p WHERE p.name=t.priority AND p.type='priority' ORDER BY (milestone IS NULL), milestone DESC, (status = 'closed'), (CASE status WHEN 'closed' THEN modified ELSE -p.value END) DESC
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Milestone: | 1.0 |
---|
This report is not compatible with PostgreSQL. Ticket #2123 was already filed about this.