Projet

Général

Profil

Support #79290

Esup-Signature - signature avec circuit de traitement

Ajouté par Anaïs Ecuvillon il y a 10 mois. Mis à jour il y a 10 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
03 juillet 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Il faudrait réussir à faire fonctionner la demande de signature avec circuit avant de livrer.

1.Je suis repartie de ton WF initial, pour exclure une erreur que j'aurai introduite en reproduisant : https://demarches-univ-nantes.test.entrouvert.org/backoffice/workflows/84/

2. Nouvel essai : https://demarches-univ-nantes.test.entrouvert.org/backoffice/management/demo-esup-signature/4/
L'erreur étant :

form_workflow_data_ws_create_sign_request_with_workflow_error_response_err_desc
'create_by_eppn' is a required property

3 . J'ai donc modifié eppn en create_by_eppn : https://demarches-univ-nantes.test.entrouvert.org/backoffice/workflows/84/status/1/items/2/

4. Deuxième essai : https://demarches-univ-nantes.test.entrouvert.org/backoffice/management/demo-esup-signature/6/

form_workflow_data_ws_create_sign_request_with_workflow_error_response_data_error
Internal Server Error

J'ai testé pas mal de choses sur mon WF entre la fin de la semaine dernière et ce matin : https://demarches-univ-nantes.test.entrouvert.org/backoffice/management/demo-demande-signature-esup-signature/ sans succès

Je te laisse voir pour réussir à faire fonctionner ça, stp,

Historique

#1

Mis à jour par Anaïs Ecuvillon il y a 10 mois

  • Description mis à jour (diff)
#2

Mis à jour par Emmanuel Cazenave il y a 10 mois

  • Assigné à changé de Emmanuel Cazenave à Anaïs Ecuvillon

Je tente une demande : https://demarches-univ-nantes.test.entrouvert.org/backoffice/management/demo-esup-signature/8/

Ça merde sur l'envoi dans esup, avec esup qui répond (https://passerelle-univ-nantes.test.entrouvert.org/manage/esup-signature/esup-signature/logs/?log_id=987):

Internal Server Error","trace":"java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1\n\tat org.esupportail.esupsignature.service.SignBookService.initWorkflow(SignBookService.java:890)\n\tat org.esupportail.esupsignature.service.SignBookService.initWorkflowAndPendingSignBook(SignBookService.java:875)\n\tat org.esupportail.esupsignature.service.SignBookService.startWorkflow(SignBookService.java:1226)\n\tat org.esupportail.esupsignature.service.SignBookService$$FastClassBySpringCGLIB$$3aa7cc19.invoke(<generated>)\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)\n\tat org.esupportail.esupsignature.service.SignBookService$$EnhancerBySpringCGLIB$$6237c24f.startWorkflow(<generated>)\n\tat org.esupportail.esupsignature.web.ws.WorkflowWsController.start(WorkflowWsController.java:54)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)\n\tat
......

Ce qui correspond à ce que je te disais :

  • je n'ai jamais réussi à faire marcher la signature avec circuit de traitement
  • je ne pense pas que ce soit un problème technique
  • je pense que c'est un problème du type : en fonction du worflow esup utilisé, esup doit attendre tel ou telle donnée qu'on a pas forcément renseigné dans https://demarches-univ-nantes.test.entrouvert.org/backoffice/workflows/84/status/1/items/2/, et esup plante salement au lieu de nous indiquer quel est le problème
  • je ne peux pas debugger plus avant
  • soit les clients s'en sortent tout seul, soit ils sollicitent l'éditeur (et on pourra participer)
#3

Mis à jour par Emmanuel Cazenave il y a 10 mois

  • Statut changé de Nouveau à En cours
  • Assigné à changé de Anaïs Ecuvillon à Emmanuel Cazenave

Me vient une idée.

Créer un workflow très simple et tenter de faire fonctionner la demande de signature sur ce workflow (parce que là on utilise un workflow déjà existant dont on ignore tout).

Je vais tenter ça.

#4

Mis à jour par Anaïs Ecuvillon il y a 10 mois

j'ai tenté de faire ça ce matin, j'ai créé le WF AEtest, qui correspond à l'id : 11866, mais j'ai pas mieux réussi,

#5

Mis à jour par Emmanuel Cazenave il y a 10 mois

  • Statut changé de En cours à Fermé

Emmanuel Cazenave a écrit :

Je vais tenter ça.

Ça ne marche pas mieux, erreur 500 qui ne donne aucune information utile. Je clos, c'est pas à nous deux seulement qu'on peut debugger ça.

Formats disponibles : Atom PDF