Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#2710 closed defect (worksforme)

malformed query on WikiStart page gets into catch-22 situation

Reported by: Chris Ryland <cpr@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.9.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

A malformed query link (e.g. [query:status=xxx... Tickets] where it should be ?status=...) on the WikiStart page triggers an exception, and then you can no longer edit the page, since it can't be displayed.

I guess there are two bugs here, one where a malformed query triggers an exception instead of an error, and one where an exception rendering a page makes it inaccessible to editing.

Of course one can use trac-admin to dump, edit, and re-load the page (which is what I did), but that's a bit roundabout.

Attachments (0)

Change History (2)

comment:1 by Bruce Christensen <trac@…>, 19 years ago

This isn't really a solution, but you could edit the page with the web interface by manually appending ?action=edit to the URL, e.g. http://projects.edgewall.com/trac/wiki/SandBox?action=edit.

comment:2 by sid, 18 years ago

Resolution: worksforme
Status: newclosed

I edited the SandBox and tried these queries to replicate the reported error:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]
[query:status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Both work, no exception is triggered, and the wiki page is still editable. Could not find the changeset for source:trunk/trac/ticket/query.py that fixed it, but it does seem to work now in 0.10.3.

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.