06-22-2007 04:40 AM
org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 32; column 55 due to error: Cannot find node referenced by path cm:person_700001
/company_home
/persons
/books
/edtors
<cm:person xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" view:childName="cm:person_5800001">
<view:aspects>
…
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:content>contentUrl=contents/test.jpg|mimetype=image/jpeg|encoding=UTF-8|locale=en</cm:content>
<cm:author>Me</cm:author>
<cm:created>2007-06-21T15:43:01.504Z</cm:created>
<cm:creator>admin</cm:creator>
<cm:modifier>admin</cm:modifier>
<cm:modified>2007-06-21T15:43:01.505Z</cm:modified>
<cm:name>Person</cm:name>
…
</view:properties>
<view:associations></view:associations>
</variazioni:person>
<view:reference xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" view:pathref="cm:book_200030">
<view:associations>
<cm:com_person>
<view:reference view:pathref="cm:person_5800001"></view:reference>
</cmi:com_person>
</view:associations>
</view:reference>
06-25-2007 10:03 AM
SearchParameters searchParameters = new SearchParameters();
searchParameters.addStore(sourceNodeRef.getStoreRef());
searchParameters.setLanguage(SearchService.LANGUAGE_LUCENE);
searchParameters.setQuery("PATH:\"" + importedRef + "\"");
searchParameters.excludeDataInTheCurrentTransaction((binding == null) ? true : !binding.allowReferenceWithinTransaction());
…
06-25-2007 10:19 AM
/**
* Set the stores to be supported - currently there can be only one. Searching across multiple stores is on the todo
* list.
*
* @param store
*/
public void addStore(StoreRef store)
06-25-2007 11:51 AM
06-26-2007 05:39 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.