Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#7698 closed defect (fixed)

Can't create a new report or custom query with Trac 0.12dev

Reported by: dmcr@… Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: ticket system Version: 0.12dev
Severity: major Keywords: ticket report custom query
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

To reproduce: go to View Tickets, and attempt to create any report or custom query. When I click on "Save report", the following error is displayed: No handler matched request to /report/-1

NOTE: I can edit existing reports and save the edits. I just can't create a NEW report or custom query.

Server: Red Hat Enterprise Linux 4 Python: 2.5.2 w/ mod_python 3.3.1 Database: MySQL 4.1.22 w/ MySQL-python 1.2.2 Subversion: 1.5.2 Swig: 1.3.31 Neon: 0.28.3 Genshi: 0.6dev (needed to fix a bug) Trac: 0.12dev (needed to fix an egg-cache problem)

Attachments (0)

Change History (3)

comment:1 by dmcr@…, 12 years ago

I found the problem: I changed the line in the ticket/report.py match_request function from:

match = re.match(r'/report(?:/([0-9]+))?$', req.path_info)

to

match = re.match(r'/report(?:/-?([0-9]+))?$', req.path_info)

The original RE wasn't allowing the "-" part of "-1" in the URL.

Dennis

comment:2 by Christian Boos, 12 years ago

Milestone: 0.12
Owner: set to Remy Blank

Thanks, but that issue has already been found and fixed in r7575… Don't forget to check the log:/trunk before filing new tickets when using the latest development version!

comment:3 by Christian Boos, 12 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank 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.