ootbee-support-tools icon indicating copy to clipboard operation
ootbee-support-tools copied to clipboard

Webscript 500 error when using the scheduled jobs tool.

Open douglascrp opened this issue 6 months ago • 3 comments

BUG

Webscript 500 error when using the scheduled jobs tool.

Expected behavior

The list of scheduled jobs should be shown.

Actual behavior

Web Script Status 500 - Internal Error

The Web Script /alfresco/s/ootbee/admin/scheduled-jobs has responded with a status of 500 - Internal Error.

500 Description: An error inside the HTTP server which prevented it from fulfilling the request.

Message: 07130017 Wrapped Exception (with status template): 07130408 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/orderofthebee/support-tools/admin/ootbee-support-tools/scheduled-jobs.get.js': 07130407 TypeError: Cannot call property instanceDefinitionFor in object [JavaPackage com.cronutils.model.definition.CronDefinitionBuilder]. It is not a function, it is "object". (classpath*:alfresco/templates/webscripts/org/orderofthebee/support-tools/admin/ootbee-support-tools/scheduled-jobs.get.js#247) Server: Community schema 18.000

Steps to reproduce the behavior

Just click on the tool.

Additional details (analysis so far, log statements, references, etc.)

Logs: https://pastebin.com/u3Nzmk5R

Tell us about your environment

Alfresco Community 7.4.0.1 Support Tools 1.2.2.0

FEATURE / ENHANCEMENT

douglascrp avatar Aug 13 '24 14:08 douglascrp