Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6846 closed defect (duplicate)

DB Error when seeing tickets by milestone with Postgresql

Reported by: Martin <martin@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

When trying to see tickets by milestone I get:

Report execution failed: no existe la columna «modified» LINE 16: (CASE status WHEN 'closed' THEN modified ELSE (-1)*p…

Checking postgresql logs I see this:

LOG:  sentencia:
        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 'martin' THEN 'font-weight: bold' END)
            END) AS __style__,
           id AS ticket, summary, component, status,
           resolution,version, t.type AS type, priority, owner,
           changetime AS modified,
           time AS _time,reporter AS _reporter
          FROM ticket t
          LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
          ORDER BY (milestone IS NULL), milestone DESC, (status = 'closed'),
                (CASE status WHEN 'closed' THEN modified ELSE (-1)*p.value END) DESC

ERROR:  no existe la columna «modified» en carácter 614

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 16 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #5543.

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.