Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2422 closed defect (duplicate)

Report execution fails after upgrade to 0.9/1.0dev Postgres from SQLite

Reported by: ben@… 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 Matthew Good, 19 years ago

Resolution: duplicate
Status: newclosed

This report is not compatible with PostgreSQL. Ticket #2123 was already filed about this.

comment:2 by anonymous, 19 years ago

Milestone: 1.0

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.