- AWC-1047: Exception when trying to checkout whilst starting workflow

- Fixed layout issue in manage task dialog

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-02-02 11:16:26 +00:00
parent b879308954
commit 0aacdf3ee3
3 changed files with 15 additions and 4 deletions

View File

@@ -484,7 +484,8 @@ public class CheckinCheckoutBean
// if this is a workflow action and there is a task id present we need
// to also link the working copy to the workflow package so it appears
// in the resources panel in the manage task dialog
if (this.isWorkflowAction && this.workflowTaskId != null)
if (this.isWorkflowAction && this.workflowTaskId != null &&
(this.workflowTaskId.equals("null") == false))
{
WorkflowTask task = this.workflowService.getTaskById(this.workflowTaskId);
if (task != null)