I'm running Zwiki 0.29 with Plone 2.0 and Zope 2.7.
When I try to copy an older page from history to present, I receive an error message. It looks like some object could not be found (see below). Inside the ZMI (../manage), it works fine to copy a page to present!
Here is the error message:
<dtml-if "error_type == 'NotFound'"> <dtml-comment> A custom error handler - redirect to the most likely existing page. Assumes SearchPage exists. See http://www.zope.org/Members/JohnC/StandardErrorMessage </dtml-comment> <dtml-let path="URL[_.len(SERVER_URL):]" search="_.string.split(path,'/')[-1]" page="SearchPage.pageWithFuzzyName(search,url_quoted=1, allow_partial=1,ignore_case=1) or SearchPage.pageWithId(search,ignore_case=1)" newurl="(page and page.page_url()) or None" newurl="newurl #do a search immediately - #or (SearchPage.page_url()+'?expr='+search) "> <dtml-if newurl> <dtml-call "RESPONSE.redirect(newurl,lock=1)"> <dtml-comment> < dtml-else> < dtml-call "RESPONSE.redirect(SearchPage.page_url()+'/editform?page='+search, lock=1)"> </dtml-comment> </dtml-if> <html> <head> <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW"> </head> <body> <p> I could not find any likely page matching <dtml-comment>"<b><dtml-var search></b>"</dtml-comment> "<b><dtml-var "SearchPage.urlunquote(search)"></b>" <p> Click here to <form action="<dtml-var "SearchPage.page_url()">/editform" method="POST" enctype="multipart/form-data"> <input type="hidden" name="page" value="&dtml-search;"> <input type="submit" value="create this page"> </form> <form action="<dtml-var "SearchPage.page_url()">" method="POST" enctype="multipart/form-data"> <input type="hidden" name="expr" value="&dtml-search;"> <input type="submit" value="search for it"> </form> or visit the <a href="&dtml-URL1;">front page</a>. <!-- zwiki standard_error_message version 0.11.0 -->
works fine with current zwiki versions, fixed along the way --betabug, Sun, 05 Aug 2007 04:04:45 -0700 reply
Status: open => closed