[Résolu]Exécution Script Problème d'authentificaiton

cancel
Showing results for 
Search instead for 
Did you mean: 
viscere
Member II

[Résolu]Exécution Script Problème d'authentificaiton

Bonjour,

        J'ai migré mon application d'alfresco 2.2.1 vers 3.3.3 avec succès. Néanmoins je n'arrive plus à exécuter un script ".js" via l'assistant de création d'action :

- J'importe bien mon script via la fonction d'import.
- J'éxécute mon script via l'action "exécuter un script"

=> Erreur retournée :
User:admin ERROR [ui.common.Utils] Impossible d'exécuter les Actions à cause de l'erreur : 11130051 Failed to execute script 'workspace://SpacesStore/9cf21782-5552-4829-8455-490a2d07bd0b': No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken
org.alfresco.scripts.ScriptException: 11130051 Failed to execute script 'workspace://SpacesStore/9cf21782-5552-4829-8455-490a2d07bd0b': No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken

Pourtant je suis bien loggué en administrateur ce qui suffisait avant migration..

Merci d'avance pour votre aide.
1 Reply
viscere
Member II

Re: [Résolu]Exécution Script Problème d'authentificaiton

Je n'ai pas résolu le problème mais j'ai pu avancer.

Dans mon script je testais l'existance des répertoires via la fonction "space.childByNamePath", et si il n'existait pas je le créais via "space.createFolder".
Si j'enlève mon test, le script passe, sinon il me lance l'erreur d'authentification lorsqu'il exécute le "createFolder"…

Mon test n'étant pas nécessaire j'ai pu me débloquer.

Je clos le post mais sans avoir compris le fond du problème.

Merci A plus!