plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Spectre Should Check That It Has a Valid Workflow  (#3194)
IssueWG::Op::Spectre.pm does not check that a workflow is valid before calling get() on it. The workflowIds in this case were empty, not NULL.
Solution Summary
Comments
perlDreamer
0
6/19/2007 10:30 pm

There is no WebGUI::Operation::Spectre.pm.

Do you by chance mean WebGUI::Operation::Workflow::www_runWorkflow?

jamestolley
0
6/20/2007 1:11 pm

Unless I'm missing something...

https://svn.webgui.org/svnweb/plainblack/view/WebGUI/lib/WebGUI/Operation/Spectre.pm 

 

This line has caused problems:

			next unless $instance->getWorkflow->get("enabled");

 

perlDreamer
0
6/22/2007 12:56 pm

My bad.

Fixed in 7.3.19, and 7.4.0

getAllInstances will now always return valid objects only, the array ref won't contain undef.  Instead, it will log instanceIds that return an undef object. 

Details
Ticket Status Closed  
Rating0.0 
Submitted Byjamestolley 
Date Submitted2007-06-19 
Assigned To unassigned  
Date Assigned2019-08-25 
Assigned By 
Severity Minor (annoying, but not harmful)  
What's the bug in?  
WebGUI / WRE Version 7.3.17  
URLbugs/tracker/spectre-should-check-that-it-has-a-valid-workflow
Keywords
Ticket History
© 2019 Plain Black Corporation | All Rights Reserved