Edgewall Software

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9092 closed defect (worksforme)

Attempt to 'Save Query' in View Tickets fails with "No handler matched request to /report" — at Version 2

Reported by: powderflask@… Owned by:
Priority: normal Milestone:
Component: report system Version: 0.11-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

A search for this issue turned up this: #7698

But I am running 0.11.7rc1 and have confirmed that it does contain the patch that closed that ticket.

Reproducing bug:

  • change trac.ini to add the lines (as suggested in docs):
    [components]
    trac.ticket.report.* = disabled
    
  • go to /query
  • Save Query
  • Get:
      Error: Not Found
      No handler matched request to /report
    

If I remove the configuration setting, things work as expected, but with the old-style reports. Can save custom queries.

My Trac instance is configured to run as CGI, so no server restart is required on configuration change (and, a server restart did not fix the issue).

Change History (2)

comment:1 by Remy Blank, 14 years ago

Saving queries depends on the report module. But if it is disabled, the save button should not be visible. I'll check that.

comment:2 by Remy Blank, 14 years ago

Description: modified (diff)
Milestone: 0.11.7
Resolution: worksforme
Status: newclosed

I cannot reproduce the issue on current 0.11-stable. If I disable the report module, the "Save" button disappears from the query page, because the REPORT_CREATE permission doesn't exist anymore.

Do you have any plugins that re-activate REPORT_* permissions?

Note: See TracTickets for help on using tickets.