[
http://jira.xwiki.org/jira/browse/XWIKI-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mortagne closed XWIKI-1808.
----------------------------------
Fix Version/s: 1.1.2
1.2 M2
Resolution: Fixed
Assignee: Thomas Mortagne
> 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.1.1, 1.2 M1
> Reporter: Thomas Mortagne
> Assigned To: Thomas Mortagne
> Fix For: 1.1.2, 1.2 M2
>
>
> 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