Document.getPreviousDocument() and Document.getPreviousVersion() seems not to
work
----------------------------------------------------------------------------------
Key: XWIKI-2130
URL: http://jira.xwiki.org/jira/browse/XWIKI-2130
Project: XWiki Core
Issue Type: Bug
Components: Storage, APIs
Affects Versions: 1.3 M2
Reporter: Jean-Vincent Drean
Priority: Critical
Reproductibility :
- go to any page with at least two versions in the history, edit it, write :
- $doc.getPreviousVersion()
- $doc.getPreviousDocument().getVersion()
result : doc.getPreviousVersion() returns "" and
doc.getPreviousDocument().getVersion() returns the first version of the
document.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications