fix the manage workflow link in the admin console #8853

This commit is contained in:
Colin Kuskie 2008-10-18 05:09:33 +00:00
parent a30b919cff
commit 2b87238a63
3 changed files with 16 additions and 2 deletions

View file

@ -7,6 +7,7 @@
- WebGUI::Crud can now automatically resolve differences between its
definition and the table schema.
- Fixed a limit bug in the asset discovery service.
- Fixed #8853: link to manageWorkflows is broken
7.6.1
- changed: the list of extensions for the export system to pass through

View file

@ -29,7 +29,7 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
repairManageWorkflows($session);
finish($session); # this line required
@ -42,6 +42,19 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
#----------------------------------------------------------------------------
sub repairManageWorkflows {
my $session = shift;
print "\tCorrecting the Manage Workflow link in configuration file... " unless $quiet;
# and here's our code
my $ac = $session->config->get('adminConsole');
if (exists $ac->{'workflow'}) {
$ac->{'workflow'}->{'url'} = "^PageUrl(\"\",op=manageWorkflows);";
$session->config->set('adminConsole', $ac);
}
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------

View file

@ -325,7 +325,7 @@
"workflow" : {
"icon" : "workflow.gif",
"uiLevel" : 7,
"url" : "^PageUrl(\"\",manageWorkflows);",
"url" : "^PageUrl(\"\",op=manageWorkflows);",
"title" : "^International(topicName,Workflow);",
"groupSetting" : "groupIdAdminWorkflow"
},