Skip to content
Snippets Groups Projects
Verified Commit 66dad027 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12763 TIME 0:05 get error during transfer with maarch parapheur

parent ad3c7040
No related branches found
No related tags found
No related merge requests found
...@@ -310,6 +310,10 @@ class MaarchParapheurController ...@@ -310,6 +310,10 @@ class MaarchParapheurController
'method' => 'POST', 'method' => 'POST',
'bodyData' => $bodyData 'bodyData' => $bodyData
]); ]);
if (!empty($response['errors'])) {
return ['error' => 'Error during processing in MaarchParapheur : ' . $response['errors']];
}
$attachmentToFreeze[$collId][$resId] = $response['id']; $attachmentToFreeze[$collId][$resId] = $response['id'];
} }
......
...@@ -125,7 +125,9 @@ class CurlModel ...@@ -125,7 +125,9 @@ class CurlModel
'Cache-Control: no-cache', 'Cache-Control: no-cache',
'Pragma: no-cache', 'Pragma: no-cache',
'Content-length: ' . strlen($aArgs['xmlPostString']), 'Content-length: ' . strlen($aArgs['xmlPostString']),
] ],
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false
]; ];
if (!empty($aArgs['soapAction'])) { if (!empty($aArgs['soapAction'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment