plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Workflows refusing to show edit screen  (#8845)
Issue

Several of the Workflows are uneditable via the Manage Workflows Admin Console.

The following drop you back to the main page rather than showing the Edit Workflow page:

  • Daily Maintenance Tasks (workflowId=pbworkflow000000000001)
  • Hourly Maintenance Tasks (workflowId=pbworkflow000000000004)
  • Send Queued Email Messages (workflowId=pbworkflow000000000007)
  • Weekly Maintenance Tasks (workflowId=pbworkflow000000000002)

Using a fresh dev site. Testing in both 7.6.0-beta and 7.6.1-beta.

No error messages were encountered.


Patrick

Solution Summary
7.6.4 and 7.5.34 will do that for you automatically.
Comments
patspam
0
10/15/2008 3:48 am
Reproduced on demo.webgui.org.
bartjol
0
10/17/2008 8:58 am
I had this error in the log, could be related 2008/10/17 14:25:41 - ERROR - www.mydomain.com.conf - WebGUI::Operation::Cron::www_runCronJob[294] - Could not create workflow instance for workflowId 'pbworkflow000000000007': The result was undefined
cap10morgan
0
10/25/2008 10:32 pm
I'm seeing this on 7.5.27 - 7.5.29 as well. The reason appears to be this error: Can't locate object method "getName" via package "WebGUI::Workflow::Activity::[foo]" where [foo] can be any workflow activity, at least of the ones I've tested (most built-in, one I wrote myself). getName is defined in WebGUI::Workflow::Activity.
patspam
0
10/26/2008 6:06 pm
Temporary fix is to change the foreach loop in WebGUI::Operation::Workflow::www_editWorkflow to read: foreach my $class (@{$workflowActivities->{$workflow->get("type")}}) { my $activity = WebGUI::Workflow::Activity->newByPropertyHashRef($session, {className=>$class}); next unless defined $activity; next unless $activity->can('getName'); # temporarily fix $addmenu .= 'getId).'">'.$activity->getName."
\n"; }
perlDreamer
0
11/16/2008 9:07 pm
Resolved by perlDreamer
knowmad
0
11/17/2008 10:12 am
We got hit by this bug also. JT says that the ProcessRecurringPayments workflow can be safely removed from your WebGUI conf files.
perlDreamer
0
11/17/2008 10:27 am
Resolved by perlDreamer
patspam
0
11/30/2008 7:47 pm
Confirmed.
Details
Ticket Status Closed  
Rating0.0 
Submitted Bypatspam 
Date Submitted2008-10-15 
Assigned To unassigned  
Date Assigned2010-09-02 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in? WebGUI Beta  
WebGUI / WRE Version 7.6.1-beta  
URLbugs/tracker/8845
Keywords
Ticket History
11/30/2008
7:47 PM
Closed patspam
11/17/2008
10:27 AM
Resolved perlDreamer
11/17/2008
10:12 AM
Pending knowmad
11/16/2008
9:07 PM
Resolved perlDreamer
10/15/2008
3:47 AM
Ticket created patspam
© 2010 Plain Black Corporation | All Rights Reserved