diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-17 22:05:15 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-03-17 22:05:15 +0000 |
commit | bf2c7f2298840c4b7292114d60a0568a48d6abe0 (patch) | |
tree | 960fea817817ffccda9f536fd4e616c91ffd4029 | |
parent | 57606c79924d113779860254b7b39dbaae21d29c (diff) |
response
-rw-r--r-- | doc/bugs/newfile-test.mdwn | 5 | ||||
-rw-r--r-- | doc/discussion.mdwn | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/bugs/newfile-test.mdwn b/doc/bugs/newfile-test.mdwn index b5e7428bd..29a09bfbf 100644 --- a/doc/bugs/newfile-test.mdwn +++ b/doc/bugs/newfile-test.mdwn @@ -6,4 +6,7 @@ The CGI tries to decide whether an user is trying to edit a new file or not with Assume the script is called like this `http://example.com/ikiwiki.cgi?page=discussion&from=some-page&do=create`. The `if (exists $pagesources{$page}) {` test determines whether there's a file called `$config{srcdir}/discussion`. Most installs won't have a `$config{srcdir}/discussion` page, so this test will fail causing the else clause to be executed. In this case, the else clause results in `$file` being set to `discussion.mdwn`. Thus, on typical installs `value => ! -e "$config{srcdir}/$file",` always succeeds, which results in the expected behaviour, albeit for the wrong reasons. Similarly, the ` $form->field(name => "rcsinfo", value => rcs_prepedit($file)` line is also meaningless because `$file` isn't what we think it is. -(To confirm that this wasn't just a result of my imagination, I created [[/discussion]] on this site; feel free to delete it now.)
\ No newline at end of file +(To confirm that this wasn't just a result of my imagination, I created [[/discussion]] on this site; feel free to delete it now.) + +> I always find bug reports more comprehansible if they describe actual +> buggy behavior, which you've not done. Could you do so? Thanks. --[[Joey]] diff --git a/doc/discussion.mdwn b/doc/discussion.mdwn deleted file mode 100644 index 0519ecba6..000000000 --- a/doc/discussion.mdwn +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file |