Bug 1006760 - Cannot import system-view XML if it contains versioned nodes which are checked-in
Summary: Cannot import system-view XML if it contains versioned nodes which are checke...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: ModeShape
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: ---
Assignee: Horia Chiorean
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 09:03 UTC by Horia Chiorean
Modified: 2016-02-10 08:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-10 08:51:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MODE-2039 0 Major Closed Importing XML continues to throw VersionException for multi-valued properties 2014-02-14 10:58:21 UTC

Description Horia Chiorean 2013-09-11 09:03:38 UTC
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)

Comment 1 JBoss JIRA Server 2013-09-11 09:59:01 UTC
Horia Chiorean <hchiorea> made a comment on jira MODE-2039

Fixed the import of documents which have the "isCheckedOut" flag set to "false".

Comment 2 JBoss JIRA Server 2013-09-11 16:37:30 UTC
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.

Comment 8 JBoss JIRA Server 2013-10-24 09:22:41 UTC
Randall Hauch <rhauch> updated the status of jira MODE-2039 to Closed

Comment 9 belong 2013-11-19 23:18:44 UTC
Fixed before GA - setting to requires_doc_text- accordingly


Note You need to log in before you can comment on or make changes to this bug.