Ticket #3715 (closed defect: worksforme)
Report execution failed: Report 9 has no SQL query.
| Reported by: | sungje@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10b1 |
| Severity: | critical | Keywords: | report needinfo |
| Cc: |
Description
I meet "Report execution failed: Report 9 has no SQL query." error message creating the new report. I write the title, Description and Query as following.
title
test
Description
only test
Query
(same as no.6)
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 '$USER' 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,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 (-1)*p.value END) DESC
I use the trac and subversion on the window 2003 server with the Apache server. SQLite is version 3(SQLite3.exe)


