Cleanup process may end abruptly with UnboundLocalError after upgrade to v2.3.x

Cleanup process may end abruptly with UnboundLocalError after upgrade to v2.3.x

If Cleanup process doesn't complete successfully in v2.3.0/a/b, please download the logs and look for the below print:

ERROR: _run_job…"cleanup_function (trigger: interval…, next run at: …" raised an exception
Traceback (most recent call last):

UnboundLocalError: local variable 'res' referenced before assignment

 

If you face this issue, please upgrade to latest 2.X.X version

Reference defect number – N2WS-1683, fixed in v2.3.0c


Link to Release Notes and the latest patch – https://support.n2ws.com/portal/kb/articles/release-notes-for-the-latest-v2-3-x-cpm-release