Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Cannot Reproduce
-
2.30.1
-
-
CP: sprint 69
-
2
-
Core: Platform
Description
If multiple _timer interfaces are declared in the ModuleDescriptor only the first one works.
Steps to reproduce
1. Provide "_timer" interface in module descriptor.
{ "id": "_timer", "version": "1.0", "interfaceType": "system", "handlers": [ { "methods": [ "POST" ], "pathPattern": "/circulation/due-date-scheduled-notices-processing", "modulePermissions": [...], "unit": "minute", "delay": "2" } ] }
2. Provide one more "_timer" interface in module descriptor.
{ "id": "_timer", "version": "1.0", "interfaceType": "system", "handlers": [ { "methods": [ "POST" ], "pathPattern": "/circulation/request-scheduled-notices-processing", "modulePermissions": [...], "unit": "minute", "delay": "2" } ] }
Expected result:
Both declated resources will be called by "_timer".
Actual result:
Only the first declared "_timer" works.
TestRail: Results
Attachments
Issue Links
- blocks
-
CIRC-387 Send request- related notices (time based)
-
- Closed
-
-
CIRCSTORE-141 Extend request notices with `Request Expiration` event
-
- Closed
-
- relates to
-
OKAPI-752 document multiple handers in _timer interfaces
-
- Closed
-