Issue Details (XML | Word | Printable)

Key: XWIKI-1517
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Vincent Massol
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Remove 2 internal XWiki.saveDocument() APIs (the ones taking an old XWikiDocument parameters)

Created: 18/Jul/07 12:50   Updated: 24/Jul/07 09:43
Component/s: Core
Affects Version/s: 1.1 M3
Fix Version/s: 1.1 M4

Issue Links:
Related
 

Resolution Date: 24/Jul/07 09:43


 Description  « Hide
The reason is that XWikiDocument should hold a copy of the original document before it's saved and reset that when saved.

The old document parameter was there only to satisfy the need of the notification mechanism. However this is an internal need satisfied by hold a copy of the original XWikiDocument as stated above.



 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 18/Jul/07 13:10
Strangely it seems this notification of original document is implemented in the Document class. This is not correct (or there's something I don't understand...). It should be implemented in XWikiDocument.

Vincent Massol added a comment - 24/Jul/07 09:43
Done