When trying to import a system-view XML file which contains versioned nodes with the "isCheckedOut" property with the value "false", the following exception is raised: avax.jcr.version.VersionException: '/testNode' (or its nearest versionable ancestor) is checked in, preventing this action at org.modeshape.jcr.AbstractJcrNode.checkForCheckedOut(AbstractJcrNode.java:661) at org.modeshape.jcr.AbstractJcrNode.setProperty(AbstractJcrNode.java:1838) at org.modeshape.jcr.JcrContentHandler$BasicNodeHandler.create(JcrContentHandler.java:813) at org.modeshape.jcr.JcrContentHandler$BasicNodeHandler.node(JcrContentHandler.java:585) at org.modeshape.jcr.JcrContentHandler$BasicNodeHandler.finish(JcrContentHandler.java:570) at org.modeshape.jcr.JcrContentHandler$SystemViewContentHandler.endElement(JcrContentHandler.java:1012) at org.modeshape.jcr.JcrContentHandler.endElement(JcrContentHandler.java:373) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.modeshape.jcr.JcrSession.importXML(JcrSession.java:1472)
Horia Chiorean <hchiorea> made a comment on jira MODE-2039 Fixed the import of documents which have the "isCheckedOut" flag set to "false".
Randall Hauch <rhauch> made a comment on jira MODE-2039 Merged into the 'master' branch. Leaving open until it can be cherry-picked into the '3.3.x-prod-ip6.0' branch.
https://github.com/jboss-integration/modeshape/commit/1daccb3a43418357018f5ad449c6e4146769d579
Randall Hauch <rhauch> updated the status of jira MODE-2039 to Closed
Fixed before GA - setting to requires_doc_text- accordingly