Bug 780382 (SOA-2796)

Summary: ModeShape - First file uploaded for publishing is missing intermediary folder in query results from ModeShape
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Warren Gibson <wgibson>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.1.0.ER7CC: rhauch
Target Milestone: ---   
Target Release: 5.1.0.CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2796
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-03 15:07:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
OracleDdl.cnd
none
Products.xmi none

Description Warren Gibson 2011-01-18 01:46:09 UTC
project_key: SOA

The first file uploaded for publishing  is missing intermediary folder in query results from ModeShape.    As an example if the attached xmi and cnd file are published in that order the xmi file will be missing a intermediary folder but the cnd file will be correct.  Reverse the publishing order and the cnd file will be missing a folder but xmi will be complete.  

The following is an example query results of ModeShape using Squirrel:

jcr_primaryType	jcr_path
mode:root	/
nt:folder	/files
nt:folder	/files/cnd
nt:file	/files/cnd/OracleDdl.cnd
nt:resource	/files/cnd/OracleDdl.cnd/jcr:content
nt:file	/files/xmi/Products.xmi
nt:resource	/files/xmi/Products.xmi/jcr:content
nt:unstructured	/sequenced
nt:unstructured	/sequenced/cnd
nt:unstructured	/sequenced/cnd/cnd
nt:unstructured	/sequenced/cnd/cnd/OracleDdl.cnd
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterClusterStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterDatabaseStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterDimensionStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterDiskgroupStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterFunctionStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterIndexStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterIndextypeStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterJavaStatement
nt:nodeType	/sequenced/cnd/cnd/OracleDdl.cnd/oracleddl:alterMaterializedStatement

Comment 1 Warren Gibson 2011-01-18 02:07:12 UTC
Attachment: Added: OracleDdl.cnd
Attachment: Added: Products.xmi


Comment 2 Randall Hauch 2011-01-18 15:51:17 UTC
Link: Added: This issue Cloned to SOA-2798


Comment 3 Randall Hauch 2011-01-18 20:46:22 UTC
I committed the fix for MODE-1077 to our 'master' branch and the '2.2.x' branch (in both Git and SVN). Van did a build and verified that this change does fix the underlying problem. But I'll leave to Van or Warren to mark as resolved.

Comment 5 Warren Gibson 2011-02-03 15:07:17 UTC
2/3/2011 - wgibson resolved.