[Perl-workflow-devel] Can't get grouped actions
Brought to you by:
jonasbn
From: Ivan P. <iva...@gm...> - 2009-03-01 23:37:08
|
Hi everyone, Recently, I updated workflow 0.31 to 1.32 and I faced with one problem in my system. Links that were connected to actions disappeared. I didn't have much time to go deep into debugging, but here is what I found for now. I retrieve actions with get_current_actions($group) function. It refers to get_available_action_names($self,$group), which is in State.pm I analyzed that function, and I found that my $action_group = FACTORY->{_action_config}{$action_name}{'group'}; returns nothing. So, I looked at FACTORY->{_action_config} and found out that all actions are under 'default' key. I added that key: my $action_group = FACTORY->{_action_config}{'default'}{$action_name}{'group'}; And my action links returned on the screen. I don't know why this default key appeared. Can anyone explain this? -- Best regards, Ivan Paponov iva...@gm... |