[Vtigercrm-developers] Hotfix 2 Bug

Martin Allen martin.allen at clystnet.com
Wed Oct 14 07:27:06 GMT 2020


Hi - I've just looked at the commit for fixing the max_scheduled_workflows
issue, and I suspect it has a bug -not tested it yet, but it looks pretty
obvious what will happen.

In getMaxAllowedScheduledWorkflows() it uses vglobal() to SET
max_scheduled_workflows to 10, then uses the same function to retrieves the
value in max_scheduled_workflows. Which will always be 10 as you just set
it to 10!

It basically will now ignore whatever value you set in config.inc.php !

There should be a separate function to SET a global variable, and a
different one to RETRIEVE the variable (with a default value returned if
not set, which im guessing is what was intended here)

Martin Allen


*01392 248692 - Main Office01392 690659 - Direct Line*

*[image: signature2]*

Have you visited our website recently? https://www.clystnet.com
<http://www.clystnet.com/>


The information in this email is confidential If you are not the intended
recipient, you must not read or use that information. This email and any
attachments are believed to be virus free however no responsibility is
accepted by Clystnet for any loss or damage arising in any way from receipt
or use thereof. Clystnet Ltd (company reg number 7164503) is based at
Silverdown Park, Fair Oak Close, Clyst Honiton, EX5 2UX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201014/44b01fe8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10550 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20201014/44b01fe8/attachment.png>


More information about the vtigercrm-developers mailing list