Summary
If there is a page called "foo", then trying to create a page called "foo/bar" emits an unfriendly 500 error page
Metadata
- Id: dddba55adea494b1148502254d93e4e8181b0046
- Trac id: 796
- Type: defect
- Reporter: alaric
- Owner: sjamaan
- Cc:
- Status: closed
- Component: wiki
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2012-03-07 12:01:11 UTC
- Keywords:
Description
I tried to create a new page (events/chicken-uk-2012), thereby inaugurating the new "events" directory, but got a 500 error when attempting to actually save the new page.
Apparently this used to work, with missing path components being automatically generated...
Changes and comments
[2012-03-07 12:15:13 UTC] alaric changed summary
[2012-03-07 12:15:13 UTC] alaric wrote:
Turns out that's a lie; the problem is that there was already a page called "events".
So I'm now changing this ticket to be one about nasty error messages :-)
Ideally, in this case, there should be an error message stating that you can't create subpages of a page; directory names and page names must be distinct.
[2012-03-11 12:57:32 UTC] sjamaan changed status from new to accepted
[2012-03-11 12:57:32 UTC] sjamaan set owner to sjamaan
[2012-03-11 15:09:00 UTC] sjamaan changed status from accepted to closed
[2012-03-11 15:09:00 UTC] sjamaan set resolution to fixed
[2012-03-11 15:09:00 UTC] sjamaan wrote:
This is now implemented simply by redirecting the user to the higher path which is a file when that's the case. If there are no new bugs we run into I will tag a new qwiki release soon.
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted