RFE 549 commits now check for spectre connectivity before commiting and a new macro for showing spectre status.

This commit is contained in:
Kaleb Murphy 2008-10-21 16:54:00 +00:00
parent 655e5e7654
commit 77913e956b
7 changed files with 42 additions and 9 deletions

View file

@ -407,6 +407,9 @@ fails.
sub requestCommit {
my $self = shift;
return "Failure" if(WebGUI::Operation::Spectre::spectreTest($self->session) ne "success");
$self->lock;
my $instance = WebGUI::Workflow::Instance->create($self->session, {
workflowId=>$self->get("workflowId"),