Import document containing no "version" element will corrupt the document.
--------------------------------------------------------------------------

                 Key: XWIKI-1808
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1808
             Project: XWiki Platform
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2 M1, 1.1.1
            Reporter: Thomas Mortagne


When calling for XWikiDocument.fromXML all XML elements that does not exit set 
field to empty string. Problem is that version value to null is supported but 
empty string will make new Version("") that fail when using 
XWikiDocument.incrementVersion in XWikiHibernateStore.saveXWikiDoc.

-- 
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

Reply via email to