diff --git a/core/xml/actions_pages.xml b/core/xml/actions_pages.xml index f4f76621f729f23d3759a65957ef92b93092fb8d..e789f4a0844d230920495dca90032f9233147216 100755 --- a/core/xml/actions_pages.xml +++ b/core/xml/actions_pages.xml @@ -320,7 +320,7 @@ An action page is described in a ACTIONPAGE tag : <LABEL>_SEND_TO_VISA</LABEL> <NAME>send_to_visa</NAME> <DESC>_SEND_TO_VISA_DESC</DESC> - <component>v1Action</component> + <component>sendSignatureBookAction</component> <ORIGIN>module</ORIGIN> <MODULE>visa</MODULE> <FLAG_CREATE>false</FLAG_CREATE> diff --git a/migration/19.12/1912.sql b/migration/19.12/1912.sql index 280c3ad5dfab7da407f77141555a2c02774955b5..9dc55986f8dac7bfad42c1586952c07a9158d881 100644 --- a/migration/19.12/1912.sql +++ b/migration/19.12/1912.sql @@ -83,14 +83,14 @@ where group_id in ( ); -- /!\ Do not move : update actions AFTER all updates on groupbasket -UPDATE actions SET component = 'confirmAction', action_page = 'confirm_status' WHERE action_page in ('validate_mail', 'process', 'visa_mail'); -DELETE FROM actions WHERE action_page = 'view' OR component = 'viewDoc'; +DELETE FROM actions WHERE component = 'viewDoc' OR action_page in ('view', 'validate_mail', 'process', 'visa_mail'); UPDATE actions SET component = 'rejectVisaBackToPrevious' WHERE action_page = 'rejection_visa_previous'; UPDATE actions SET component = 'redirectInitiatorEntityAction' WHERE action_page = 'redirect_visa_entity'; UPDATE actions SET component = 'rejectVisaBackToPreviousAction' WHERE action_page = 'rejection_visa_previous'; 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 = 'send_to_visa'; /* FOLDERS */