[daisy] Receiving Error 500 when viewing one page
Andreas Deininger
adeininger at googlemail.com
Tue Mar 4 01:42:44 CST 2008
2008/3/3, Thomas, Mark - BLS CTR <Thomas.Mark at bls.gov>:
> Somehow, an update of one particular page now causes a jetty HTTP error
> 500 when viewing the page (this is in Daisy 1.4). All other pages work
> fine. What I would like to do is revert the page to its previous
> version, but due to the error I cannot get to the versions link for that
> document.
What about invoking:
http://www.your.site.tld/yoursite//pageID/versions.html
in order to see the version overwiew for that page?
> What's the easiest way to restore the previous version (or
> change the latest to "draft" so the previous becomes live)? Is there a
> special URL I can construct to do this?
You may talk to the repository server via the HTTP API as described here:
http://cocoondev.org/daisydocs-1_4/repository/interfaces/21-cd.html
The URL should be something like:
http://your_repo_server:9263/repository/document/<id>/version/<id>
POST on this resource is used to modify the version state. The request
should have two parameters:
* action=changeState
* newState=publish|draft
Good luck!
Andreas
More information about the daisy
mailing list