Opened 20 years ago
Closed 19 years ago
#2710 closed defect (worksforme)
malformed query on WikiStart page gets into catch-22 situation
| Reported by: | 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 , 20 years ago
comment:2 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
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.



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