Opened 18 years ago
Closed 18 years ago
#4304 closed defect (fixed)
Specifying a non existing version of a document is a little misleading
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | lowest | Milestone: | 0.11 |
Component: | wiki system | Version: | 0.10.2 |
Severity: | minor | Keywords: | |
Cc: | mark.m.mcmahon@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When you specify a version of a wiki document that does not exist yet e.g. http://trac.edgewall.org/wiki/WikiStart?version=999
you get the following message
Describe "WikiStart" here
And get presented with the "Create this page" button - as if the page does not exist at all.
If you click that button - then it goes to edit the current page (which is good).
Maybe it should give a little message at the top saying "Version X does not exist. Current version shown below." or something like that?
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Milestone: | → 0.11 |
---|
Replying to mark.m.mcmahon@gmail.com:
Maybe it should give a little message at the top saying "Version X does not exist. Current version shown below." or something like that?
Now that you say it… r4369; I did that 2 days ago ;)
(but you need r4377 as well)
I leave it opened to implement sid's suggestion.
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Just tested this on 0.11. When trying to edit a page with a version that does not exist, this error correctly shows on the page:
No version "999" for Wiki page "WikiStart"
The suggestion I made in comment:1 no longer applies because it is not possible anymore to edit the page. The error blocks that path.
The one other misleading thing in your example for t.e.o. is it appears that you really can edit the WikiStart page, even when you don't have the permissions to do so. When you submit the page, an error pops up saying "You need WIKI_ADMIN privileges to do this" (which is good).