Commit b284c72c authored by Adrien's avatar Adrien Committed by Romain Bioteau
Browse files

fix(deploy orga) success message (#778)

* In subscriptions editions, remind the user that he might need to
re-deploy his profiles

closes [BS-17236](https://bonitasoft.atlassian.net/browse/BS-17236)
parent 5315f11b
......@@ -82,13 +82,17 @@ public class DeployOrganizationHandler {
final String organizationName = controlSupplier.getFileStore().getDisplayName();
MessageDialog.openInformation(Display.getDefault().getActiveShell(),
Messages.deployInformationTitle,
Messages.bind(Messages.deployOrganizationSuccessMsg, organizationName));
Messages.bind(getSuccessMessage(), organizationName));
} else {
exceptionDialogHandler.openErrorDialog(Display.getDefault().getActiveShell(), status.getMessage(),
status.getException());
}
}
protected String getSuccessMessage() {
return Messages.deployOrganizationSuccessMsg;
}
protected DeployOrganizationControlSupplier newPublishOrganizationControlSupplier(
RepositoryAccessor repositoryAccessor, ActiveOrganizationProvider activeOrganizationProvider) {
return new DeployOrganizationControlSupplier(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment