04-14-2008 12:21 PM
04-14-2008 02:03 PM
04-15-2008 04:40 AM
/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.... Trade/{http://www.alfresco.org/model/content/1.0}Head Quarter Shared Services/{http://www.alfresco.org/model/content/1.0}Finance/{http://www.alfresco.org/model/content/1.0}1 - BUDGET/{http://www.alfresco.org/model/content/1.0}Budget 2007
Reference: workspace://SpacesStore/bff434b2-0a1b-11dd-9ce5-818517c9b32f
Type: {http://www.alfresco.org/model/content/1.0}folder
Parent: workspace://SpacesStore/bb17163a-0a1b-11dd-9ce5-818517c9b32f
/app:company_home/cm:GL_x0020_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm:Finance/cm:_x0031__x0020_-_x0020_BUDGET/cm:Budget_x0020_2007
1 - BUDGET
En:x0031__x0020_-_x0020_BUDGET)
09:04:45,113 DEBUG [org.alfresco.repo.webservice.Utils] Resolving path: /app:com
pany_home/cm:GL_x0020_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm
:Finance/cm:_x0031__x0020_-_x0020_BUDGET/cm:Budget_x0020_2007
09:04:45,124 ERROR [org.alfresco.repo.webservice.accesscontrol.AccessControlWebS
ervice] Unexpected error occurred
java.lang.IllegalStateException: Failed to resolve to a single NodeRef with para
meters (store=workspace:SpacesStore uuid=null path=/app:company_home/cm:GL_x0020
_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm:Finance/cm:_x0031__x
0020_-_x0020_BUDGET/cm:Budget_x0020_2007), found 0 nodes.
at org.alfresco.repo.webservice.Utils.resolveToNodeRef(Utils.java:401)
at org.alfresco.repo.webservice.Utils.convertToNodeRef(Utils.java:293)
at org.alfresco.repo.webservice.Utils.resolvePredicate(Utils.java:448)
at org.alfresco.repo.webservice.accesscontrol.AccessControlWebService.ad
dACEsImpl(AccessControlWebService.java:200)
at org.alfresco.repo.webservice.accesscontrol.AccessControlWebService.ac
cess$100(AccessControlWebService.java:23)
at org.alfresco.repo.webservice.accesscontrol.AccessControlWebService$2.
execute(AccessControlWebService.java:174)
at org.alfresco.repo.webservice.accesscontrol.AccessControlWebService$2.
execute(AccessControlWebService.java:172)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:236)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:166)
at org.alfresco.repo.webservice.accesscontrol.AccessControlWebService.ad
dACEs(AccessControlWebService.java:177)
at sun.reflect.GeneratedMethodAccessor711.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
/app:company_home/cm:GL_x0020_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm:Finance/cm:1_x0020_-_x0020_BUDGET/cm:Budget_x0020_2007
Caused by: org.jaxen.XPathSyntaxException: Unexpected '1'
at org.jaxen.BaseXPath.<init>(BaseXPath.java:132)
at org.jaxen.BaseXPath.<init>(BaseXPath.java:153)
at org.alfresco.repo.search.NodeServiceXPath.<init>(NodeServiceXPath.jav
a:115)
at org.alfresco.repo.search.impl.NodeSearcher.selectNodes(NodeSearcher.j
ava:133)
… 59 more
Caused by: class org.jaxen.saxpath.XPathSyntaxException: /app:company_home/cm:GL
_x0020_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm:Finance/cm:1_x
0020_-_x0020_BUDGET/cm:Budget_x0020_2007: 100: Unexpected '1'
at org.jaxen.saxpath.base.XPathReader.createSyntaxException(XPathReader.
java:1120)
at org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:119)
at org.jaxen.BaseXPath.<init>(BaseXPath.java:127)
… 62 more
04-15-2008 05:01 AM
04-15-2008 05:12 AM
09:04:45,113 DEBUG [org.alfresco.repo.webservice.Utils] Resolving path: /app:com
pany_home/cm:GL_x0020_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm
:Finance/cm:_x0031__x0020_-_x0020_BUDGET/cm:Budget_x0020_2007
09:04:45,124 ERROR [org.alfresco.repo.webservice.accesscontrol.AccessControlWebS
ervice] Unexpected error occurred
java.lang.IllegalStateException: Failed to resolve to a single NodeRef with para
meters (store=workspace:SpacesStore uuid=null path=/app:company_home/cm:GL_x0020
_TRADE/cm:Head_x0020_Quarter_x0020_Shared_x0020_Services/cm:Finance/cm:_x0031__x
0020_-_x0020_BUDGET/cm:Budget_x0020_2007), found 0 nodes.
found 0 nodes.
:?: Donc en fait il y aurait bien un bug pour ce cas particulier côté Alfresco?04-15-2008 05:19 AM
<#assign numbers=["0","1","2","3","4","5","6","7","8","9"]>
<#– encode string by replacing spaces by their hex unicode value. –>
<#–Note : Numerals are not valid at the start of the string so they have to be escaped (ISO 9075) –>
<#– Input : string - String - input string –>
<#– Output : string - ISO9075 encoded string ( main characters considered) –>
<#function encode_unicode string>
<#if numbers?seq_contains(string?substring(0,1))>
<#return ("_x003"+string?substring(0,1)+"_"+string?substring(1))?replace(" ","_x0020_")>
</#if>
<#return string?replace(" ","_x0020_")>
</#function>
04-15-2008 05:42 AM
04-15-2008 05:53 AM
04-15-2008 06:04 AM
04-15-2008 06:18 AM
cm:1_x0020_-_x0020_BUDGET
cm:_x0031__x0020_-_x0020_BUDGET
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.