cancel
Showing results for 
Search instead for 
Did you mean: 

Primary path missing namespace

colindstephenso
Champ in-the-making
Champ in-the-making
Hey All,

I am using a bulk ingestion tool to import spaces and content into Alfresco.  Each space is a custom type and the content are a custom type.  Everything gets created correctly, apart from when I use the node browser I see my custom objects are missing their namespace qualifier:  eg    

/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1....

The objects are created using WebServices and CML and the spaces/content are created of the custom types.  As the name spaces are missing in the primarypath, when constraining searches to these spaces results in query parsing failures in XPath as it cannot intreprey /:CustomSpace.

Any thoughts or additional information I can provide to figure this out?

Thanks,
11 REPLIES 11

colindstephenso
Champ in-the-making
Champ in-the-making
It would appear if I identify the nodes, I can modify the 'qname_ns_id' reference in alf_child_assoc from the 'empty' id to the correct id, then this should resolve the issue.  I just need to validate that data integrity it maintained.

I appreciate the information on the import tool and I will look at this for future projects.  Its just not feasible to re-ingest all the data as it would not be completed by now.

colindstephenso
Champ in-the-making
Champ in-the-making
also note, reindex afterwards to make sure this pushes out Smiley Happy