Bug 780382 (SOA-2796) - ModeShape - First file uploaded for publishing is missing intermediary folder in query results from ModeShape
Summary: ModeShape - First file uploaded for publishing is missing intermediary folder...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2796
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER7
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0.CR1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-18 01:46 UTC by Warren Gibson
Modified: 2011-02-03 15:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-03 15:07:17 UTC
Type: Bug


Attachments (Terms of Use)
OracleDdl.cnd (14.58 KB, application/octet-stream)
2011-01-18 02:07 UTC, Warren Gibson
no flags Details
Products.xmi (9.39 KB, application/octet-stream)
2011-01-18 02:07 UTC, Warren Gibson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MODE-1077 0 None None None Never
Red Hat Issue Tracker SOA-2796 0 None None None Never

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.


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