[Sakai Jira] (SAKIII-5486) Messages posted while page is being edited are erased when page is published
Bert Pareyn (JIRA)
sakai-ui-dev-tracking at collab.sakaiproject.org
Tue Apr 17 04:03:26 PDT 2012
[ https://jira.sakaiproject.org/browse/SAKIII-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156978#comment-156978 ]
Bert Pareyn commented on SAKIII-5486:
-------------------------------------
Thanks for clarifying that Branden.
> Messages posted while page is being edited are erased when page is published
> ----------------------------------------------------------------------------
>
> Key: SAKIII-5486
> URL: https://jira.sakaiproject.org/browse/SAKIII-5486
> Project: Sakai OAE UI Dev
> Issue Type: Bug
> Components: Page widgets
> Affects Versions: 1.2.0
> Reporter: Branden Visser
> Assignee: Christian Vuerings
> Priority: Blocker
> Fix For: 1.2.0
>
>
> Steps to reproduce:
> 1. Create a new page
> 2. Edit page, add a discussion widget (or comment widget), save the page
> 3. Edit the page
> 4. Refresh the page (basically, leave edit mode without scrapping the draft)
> 5. Add a new Topic / Reply or Comment
> 6. Edit the page
> 7. Select to restore draft version of the page
> 8. Save the page
> The topics and replies are erased when the page is published. I think since the Move operation now does a hard replace instead of a merge, the "live" messages are now being blown away and replaced with the older messages in the draft space.
> Since KERN-2771 (https://github.com/sakaiproject/nakamura/pull/745), there is now a new POST operation available to publish a sakai page, instead of using "move", this operation is keyed at "publish-sakaidoc-page". This POST operation will perform some conflict handling with messages between the live page and draft page -- basically, the draft page always wins conflicts, but only if a message in the draft space has been modified. Here is a sample cURL command of how to use it (same as move, really):
> curl -u admin:admin --referer "http://localhost:8080/" http://localhost:8080/p/l3H5csVMaa/tmp_id4461590 \
> -F:operation="publish-sakaidoc-page" \
> -F:dest="/p/l3H5csVMaa/id4461590" \
> -F:replace="true" \
> -F_charset="utf-8"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.sakaiproject.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the sakai-ui-dev-tracking
mailing list