mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Refactored submit dialog to use 2 transactions so that link validation can occur succesfully
- Check links checkbox now only shown if there are workflows configured - Changed a couple of labels git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -107,13 +107,7 @@ public class AVMSubmitLinkChecker extends JBPMSpringActionHandler
|
||||
HrefValidationProgress monitor = new HrefValidationProgress();
|
||||
Map<String, Serializable> args = new HashMap<String, Serializable>(1, 1.0f);
|
||||
args.put(LinkValidationAction.PARAM_MONITOR, monitor);
|
||||
|
||||
// TODO: determine what should happen here, comparing against staging
|
||||
// does not work as the webapp is not virtualised yet so workflow
|
||||
// always goes straight to 'review'. Temporarily removed the flag
|
||||
// so just the workflow store gets checked.
|
||||
|
||||
// args.put(LinkValidationAction.PARAM_COMPARE_TO_STAGING, Boolean.TRUE);
|
||||
args.put(LinkValidationAction.PARAM_COMPARE_TO_STAGING, Boolean.TRUE);
|
||||
Action action = this.fActionService.createAction(LinkValidationAction.NAME, args);
|
||||
this.fActionService.executeAction(action, webappPathRef, false, false);
|
||||
|
||||
|
Reference in New Issue
Block a user