diff --git a/migration/19.12/1912.sql b/migration/19.12/1912.sql index 2465c7d6faf81a5635b19cbebe3cc5e4deb3e930..905d4f7f80792f6de404e98c9f056fc2369b620d 100644 --- a/migration/19.12/1912.sql +++ b/migration/19.12/1912.sql @@ -91,7 +91,7 @@ UPDATE actions SET component = 'rejectVisaBackToPreviousAction' WHERE action_pag UPDATE actions SET component = 'rejectVisaBackToRedactorAction' WHERE action_page = 'rejection_visa_redactor'; UPDATE actions SET component = 'interruptVisaAction' WHERE action_page = 'interrupt_visa'; UPDATE actions SET component = 'sendSignatureBookAction' WHERE action_page IN ('send_to_visa', 'send_signed_docs'); -UPDATE actions SET component = 'continueCircuitAction' WHERE action_page = 'visa_workflow'; +UPDATE actions SET component = 'continueVisaCircuitAction' WHERE action_page = 'visa_workflow'; /* FOLDERS */ DO $$ BEGIN diff --git a/rest/index.php b/rest/index.php index 7442d896e07cb4a00a65e841c4125fe0b5df44ef..3673bdc9ffd489ca00bd92300c7afbe62e9d5345 100755 --- a/rest/index.php +++ b/rest/index.php @@ -383,7 +383,7 @@ $app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/ch $app->get('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/getRedirect', \Action\controllers\PreProcessActionController::class . ':getRedirectInformations'); $app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/checkShippings', \Action\controllers\PreProcessActionController::class . ':checkShippings'); $app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/checkSignatureBook', \Action\controllers\PreProcessActionController::class . ':checkSignatureBook'); -$app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/checkContinueCircuit', \Action\controllers\PreProcessActionController::class . ':checkContinueCircuit'); +$app->post('/resourcesList/users/{userId}/groups/{groupId}/baskets/{basketId}/actions/{actionId}/checkContinueVisaCircuit', \Action\controllers\PreProcessActionController::class . ':checkContinueVisaCircuit'); //Search $app->get('/search', \Search\controllers\SearchController::class . ':get'); diff --git a/src/app/action/controllers/ActionMethodController.php b/src/app/action/controllers/ActionMethodController.php index 703625dbd6be222e06e920acd49f76e8dafe0fbd..f80d10fda67a4d3e7822e5d56853cdd6c9f9e492 100644 --- a/src/app/action/controllers/ActionMethodController.php +++ b/src/app/action/controllers/ActionMethodController.php @@ -52,7 +52,7 @@ class ActionMethodController 'updateAcknowledgementSendDateAction' => 'updateAcknowledgementSendDateAction', 'sendShippingAction' => 'createMailevaShippings', 'sendSignatureBookAction' => 'sendSignatureBook', - 'continueCircuitAction' => 'continueCircuit', + 'continueVisaCircuitAction' => 'continueVisaCircuit', 'rejectVisaBackToPrevious' => 'rejectVisaBackToPrevious', 'redirectInitiatorEntityAction' => 'redirectInitiatorEntityAction', 'rejectVisaBackToPreviousAction' => 'rejectVisaBackToPrevious', @@ -354,7 +354,7 @@ class ActionMethodController return true; } - public function continueCircuit(array $args) + public function continueVisaCircuit(array $args) { ValidatorModel::notEmpty($args, ['resId']); ValidatorModel::intVal($args, ['resId']); diff --git a/src/app/action/controllers/PreProcessActionController.php b/src/app/action/controllers/PreProcessActionController.php index 786b974d514746ee9f550700b30baf7a81e7937f..7abdba388308d4c84ac17cd5213921baa8764e74 100755 --- a/src/app/action/controllers/PreProcessActionController.php +++ b/src/app/action/controllers/PreProcessActionController.php @@ -886,7 +886,7 @@ class PreProcessActionController return $response->withJson(['resourcesInformations' => $resourcesInformations]); } - public function checkContinueCircuit(Request $request, Response $response, array $args) + public function checkContinueVisaCircuit(Request $request, Response $response, array $args) { $body = $request->getParsedBody();