diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 608b1b6bf..a03061578 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,8 @@ - rfe: Make Layout Templates use separate namespace (News) - rfe: search assets on class without keywords - fix: thumbnailer.pl is broken + - fix: workflow engine reporting "error" in status screen even when it's + "waiting" - fix: crash bug in if modified cache checking - rfe: Change URL of "news" layout to be something else. - add type variable to Data Form record loop diff --git a/lib/WebGUI/Workflow/Instance.pm b/lib/WebGUI/Workflow/Instance.pm index 978161858..3c7c0dadc 100644 --- a/lib/WebGUI/Workflow/Instance.pm +++ b/lib/WebGUI/Workflow/Instance.pm @@ -347,7 +347,7 @@ sub run { if ($status eq "complete") { $self->set({lastStatus=>"complete", "currentActivityId"=>$activity->getId, notifySpectre=>0}); } else { - $self->set({lastStatus=>"error", notifySpectre=>0}); + $self->set({lastStatus=>$status, notifySpectre=>0}); } return $status; }