cancel
Showing results for 
Search instead for 
Did you mean: 

bonjour tout le monde;j'ai voulu rajouter un action...

user_alfresco
Champ in-the-making
Champ in-the-making
bonjour tout le monde;

j'ai voulu rajouter   un action qui declache un script .

ce que j'ai fair j'ai rajouter  au fichie web-clien-config-action.xml

<action id="mon_action">
            <label>Mon-action</label>
            <image>/images/icons/test.gif</image>
             <script>/workspace://SpacesStore/1e6e2c7f-36a6-11dc-8463-3d01b9faeaa4</script>
   
         </action>



   <action-group id="space_browse">
            ……
            <action idref="mon_action"/>
         </action-group>
pour l'interface graphique tout va bien je voix bien la nouvelle action mon_action mais quand j'apuis decu j'ai l'erreur suivante :


org.alfresco.error.AlfrescoRuntimeException: Error during command servlet processing: Unable to resolve item Path: /Company Home/Data Dictionary/Scripts/backup.js
caused by:
java.lang.IllegalArgumentException: Unable to resolve item Path: /Company Home/Data Dictionary/Scripts/backup.js
on dirai qu'il trouve pas le chemin est ce que quelqu'un saiot d'ou peut venir cette erreur?

merci
5 REPLIES 5

user_alfresco
Champ in-the-making
Champ in-the-making
rebonjour tout le monde;


je ne sais pas si il ya quelqu'un qui peut m'aider j'arrive pas a resoudre mon probleme dans show details il ya ça:

org.alfresco.error.AlfrescoRuntimeException: Error during command servlet processing: Not enough URL arguments passed to command servlet.
at org.alfresco.web.app.servlet.CommandServlet.service(CommandServlet.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: Not enough URL arguments passed to command servlet.
at org.alfresco.web.app.servlet.command.ScriptCommandProcessor.validateArguments(ScriptCommandProcessor.java:93)
at org.alfresco.web.app.servlet.CommandServlet.service(CommandServlet.java:136)
… 15 more
merci d'avance

christophes
Champ in-the-making
Champ in-the-making
Essaye de taper <script>/Company Home/Data Dictionary/Scripts/backup.js</script> directement.

user_alfresco
Champ in-the-making
Champ in-the-making
bonjour;


j'ai deja esseyé mais il me donne toujours la meme erreur:


org.alfresco.error.AlfrescoRuntimeException: Error during command servlet processing: Unable to resolve item Path: /Company Home/Data Dictionary/Scripts/backup.js
caused by:
java.lang.IllegalArgumentException: Unable to resolve item Path: /Company Home/Data Dictionary/Scripts/backup.js


merci

christophes
Champ in-the-making
Champ in-the-making
Es-tu sûr que le chemin d'accès est correct ? Si tu es sur un Alfresco en Français, le chemin sera du genre /Alfresco/Dictionnaire des Données/Scripts/backup.js

user_alfresco
Champ in-the-making
Champ in-the-making
rebonjour;


toujours meme erreur:
org.alfresco.error.AlfrescoRuntimeException: Error during command servlet processing: Unable to resolve item Path: /Dictionnaire des Données/Scripts/backup.js
caused by:
java.lang.IllegalArgumentException: Unable to resolve item Path: /Dictionnaire des Données/Scripts/backup.js

c'est vraiment bisard
Getting started

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.