Question
With Cairo (last beta release) and
AmbarSkin,
SavemultiCgiScript (as ambarsave) breaks the URL and doesn't render web path. Message is "this topic does not exist yet" and bin/view//TestTopic occurs. I would appreciate any help.
Environment
--
BenoitFauvel - 22 Jun 2004
Answer
I have also been working on getting
SavemultiCgiScript to work with latest beta (in my case, in conjunction with
DandruffSkin). I was experiencing simiar problems as you describe with loss of the web path. In my usual non-Perl literate manner, I did a fair amount of trail and error messing around with the code. What finally worked for me was
reversing a diff that
MartinCleaver mentioned in
SavemultiCgiScript on 12 April 2004. The key part of the change he listed was around line 170 as follows:
- TWiki::redirect( $query, &TWiki::getViewUrl( $webName, $topic ) );
+ TWiki::redirect( $query, &TWiki::getViewUrl( "", $topic ) );
I put $webName back into that line and, lo and behold, it's working again. I don't know why nor whether it might break something else. But since no one else as responded to your question, I thought I'd pass this along for what it's worth.
Good luck!
--
LynnwoodBrown - 22 Jun 2004
All my greetings Lynnwood for your quick answer! It works fine after I replaced the line 176 by:
+ TWiki::redirect( $query, &TWiki::getViewUrl( $webName, $topic ) );
But I didn't investigate further when preview + save and save running both.
--
BenoitFauvel - 22 Jun 2004