diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 3db35f665..f16f11064 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ - fixed #11381: Captcha of DataForm cached - fixed #11392: account.message var sometimes returns invalid html - fixed #11395: i18n LDAP field name in user properties wrong + - fixed #11396: WebGUI Workflow Cache Error. 7.8.11 - fixed #11362: Unable to checkout with ITransact plugin diff --git a/docs/upgrades/upgrade_7.8.11-7.8.12.pl b/docs/upgrades/upgrade_7.8.11-7.8.12.pl index 5fc7d60a5..2127112fd 100644 --- a/docs/upgrades/upgrade_7.8.11-7.8.12.pl +++ b/docs/upgrades/upgrade_7.8.11-7.8.12.pl @@ -31,6 +31,7 @@ my $quiet; # this line required my $session = start(); # this line required # upgrade functions go here +fixWorkflowSizeLimits($session); finish($session); # this line required @@ -45,6 +46,20 @@ finish($session); # this line required #} +#---------------------------------------------------------------------------- +# Describe what our function does +sub fixWorkflowSizeLimits { + my $session = shift; + print "\tAdjust size limits on File and Database cache cleanups... " unless $quiet; + ACTIVITY: foreach my $workflowActivityId (qw{pbwfactivity0000000002 pbwfactivity0000000022}) { + my $activity = WebGUI::Workflow::Activity->new($session, $workflowActivityId); + next ACTIVITY unless $activity; + next ACTIVITY unless $activity->get('sizeLimit') == 1_000_000_000; + $activity->set('sizeLimit', 100_000_000); + } + print "DONE!\n" unless $quiet; +} + # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------