Anomalie #18460
Double requête lors du versement dans alfresco.
Description
history : @guillaume.
Lors du versement GED on continue d'avoir une double requête de versement qui est envoyé vers le serveur Alfresco.
Résultat :
DEBUG [2965] [OK][MAARCH][curl][execSimple][Url : https://gedprod.yvelines.fr/alfresco/api/-default-/public/alfresco/versions/1/nodes/e5873ead-72ed-407b-b72e-eba0d75a09a9 HttpCode : 409 Errors : ][audreypottier][Response : {"error":{"errorKey":"Duplicate child name not allowed: CD78_2021A_2278","statusCode":409,"briefSummary":"09040171 Duplicate child name not allowed: CD78_2021A_2278","stackTrace":"Pour des raisons de securite, le tracage de la pile n'est plus affiche, mais la propriete est conservee dans les versions precedente.","descriptionURL":"https://api-explorer.alfresco.com"}}][curl][10.7.5.184] [04/10/2021 11:19:13] ERROR [2965] [OK][MAARCH][][][Error Exec Curl : Update alfresco folder e5873ead-72ed-407b-b72e-eba0d75a09a9 failed : {"error":{"errorKey":"Duplicate child name not allowed: CD78_2021A_2278","statusCode":409,"briefSummary":"09040171 Duplicate child name not allowed: CD78_2021A_2278","stackTrace":"Pour des raisons de s\u00e9curit\u00e9, le tra\u00e7age de la pile n'est plus affich\u00e9, mais la propri\u00e9t\u00e9 est conserv\u00e9e dans les versions pr\u00e9c\u00e9dente.","descriptionURL":"https:\/\/api-explorer.alfresco.com"}}][audreypottier][Alfresco Error][alfresco][10.7.5.184]
Guillaume avait ajouté des contrôles, mais je pense qu'ils ne sont pas suffisants.
Le process doit être lancé en double.
L'erreur est aléatoire.
Il faudrait que nous arrivions bloqué tous process supplémentaires qui pourrait être lancé dès l'arrivée dans l'action.
History
#1 Updated by Ludovic ARAUJO almost 2 years ago
Idée :
Mettre un nombre aléatoire dans le premier update et le contrôler avant le curl (base + php).
Ça nous permettra d'éliminer la possibilité d'avoir 2 process.
Pour plus d'info me demander.
#2 Updated by Ludovic ARAUJO almost 2 years ago
- Due date changed from 10/20/2021 to 10/13/2021
#3 Updated by Emmanuel DILLARD almost 2 years ago
- Due date changed from 10/13/2021 to 10/11/2021
- Status changed from A qualifier to R&D - A étudier
- Assignee set to Quentin RIBAC
#4 Updated by Ludovic ARAUJO almost 2 years ago
Besoin de dates
#5 Updated by Emmanuel DILLARD almost 2 years ago
- Status changed from R&D - A étudier to En cours
#6 Updated by Quentin RIBAC almost 2 years ago
- Status changed from En cours to R&D - En cours
#7 Updated by GIT LAB almost 2 years ago
Commit ajouté sur la branche fix/18460/20.03_TMA4 de MaarchCourrier
FIX #18460 TIME 1:40 added lock in send to alfresco action
https://labs.maarch.org/maarch/MaarchCourrier/commit/8d6be94142bf76038f4002fe2698d07d32fce84b
#8 Updated by Guillaume HEURTIER almost 2 years ago
- Status changed from R&D - En cours to R&D - En test
- Assignee changed from Quentin RIBAC to Guillaume HEURTIER
#10 Updated by GIT LAB almost 2 years ago
Commit ajouté sur la branche fix/18460/20.03_TMA4 de MaarchCourrier
FIX #18460 TIME 1:00 set random sha before sending to alfresco
https://labs.maarch.org/maarch/MaarchCourrier/commit/72a153b5b303398859819f94687f471edce3642f
#11 Updated by Emmanuel DILLARD almost 2 years ago
- Assignee changed from Guillaume HEURTIER to Ludovic ARAUJO
#12 Updated by Alex ORLUC almost 2 years ago
- Status changed from R&D - En test to R&D - Terminé
#14 Updated by Emmanuel DILLARD almost 2 years ago
- Target version changed from 291 to 20.03 TMA4