Modify ↓
Opened 19 years ago
Closed 19 years ago
#4328 closed defect (duplicate)
Unable to delete custom report
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.2 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I was unable to delete the following custom report:
SELECT p.value AS __color__,
' Release' AS __group__,
(CASE status WHEN 'assigned' THEN owner||' *' ELSE owner END) AS owner,
id AS ticket, summary, t.type AS type,
status, resolution,
(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__,
component, version,
changetime AS _changetime, description AS _description,
reporter AS _reporter
FROM ticket t, enum p
WHERE status IN ('new', 'assigned', 'reopened')
AND p.name = t.priority AND p.type = 'priority'
ORDER BY owner, id, p.value, t.type, time
The traceback was:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 115, in process_request
self._render_confirm_delete(req, db, id)
File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 198, in _render_confirm_delete
req.hdf['report'] = {
AttributeError: 'module' object has no attribute 'row'
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



I had created another report with the same name, but different id number before trying to delete this report. Changing the name of the report I wanted to delete did not allow me to delete the report.