12-03-2009 01:56 PM
12-04-2009 12:19 AM
12-04-2009 08:46 AM
12-04-2009 11:00 AM
<bean name="userHomesHomeFolderProvider" class="org.alfresco.repo.security.person.UIDBasedHomeFolderProvider" parent="baseHomeFolderProvider">
<property name="path">
<!– <value>/${spaces.company_home.childname}/${spaces.user_homes.childname}</value> –>
<value>/${spaces.company_home.childname}/${spaces.sites.childname}/${spaces.user_homes.childname}/documentlibrary</value>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
<property name="onCreatePermissionsManager">
<ref bean="defaultOnCreatePermissionsManager" />
</property>
<property name="onReferencePermissionsManager">
<ref bean="defaultOnReferencePermissionsManager" />
</property>
</bean>
.. and change the bootstrap-spaces.properties file to set the name of the new space that I have:
spaces.user_homes.name=userhome
10:51:23,222 ERROR [web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: Non-unique path: found : /app:company_home/st:sites/app:user_homes/documentLibrary 0
java.lang.IllegalStateException: Non-unique path: found : /app:company_home/st:sites/app:user_homes/documentLibrary 0
at org.alfresco.repo.security.person.AbstractHomeFolderProvider.resolvePath(AbstractHomeFolderProvider.java:259)
at org.alfresco.repo.security.person.AbstractHomeFolderProvider.getPathNodeRef(AbstractHomeFolderProvider.java:244)
at org.alfresco.repo.security.person.UIDBasedHomeFolderProvider.getHomeFolder(UIDBasedHomeFolderProvider.java:84)
at org.alfresco.repo.security.person.AbstractHomeFolderProvider$OnCreateNode.doWork(AbstractHomeFolderProvider.java:298)
at org.alfresco.repo.security.person.AbstractHomeFolderProvider$OnCreateNode.doWork(AbstractHomeFolderProvider.java:283)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)
at org.alfresco.repo.security.person.AbstractHomeFolderProvider.onCreateNode(AbstractHomeFolderProvider.java:270)
at org.alfresco.repo.security.person.HomeFolderManager.makeHomeFolder(HomeFolderManager.java:147)
at org.alfresco.repo.security.person.HomeFolderManager.onCreateNode(HomeFolderManager.java:125)
at org.alfresco.repo.security.person.PersonServiceImpl.onCreateNode(PersonServiceImpl.java:846)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:179)
at $Proxy18.onCreateNode(Unknown Source)
12-04-2009 12:51 PM
<value>/${spaces.company_home.childname}/${spaces.sites.childname}/cm:userhome/cm:documentLibrary</value>
which is basically <value>app:company_name/st:sites/cm:userhome/cm:documentLibrary. userhome is the site that I created in Share.
<value>/${spaces.company_home.childname}/${spaces.sites.childname}/${spaces.user_homes.childname}/documentlibrary</value>
gives me the "non-unique path" error. I understand that app:user_homes is different from cm:userhome, but I should be able to set app:user_homes to point to my Sites > userhome space, but don't quite get how!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.