Needlessly run for @Scheduled annotations when disabled

Description

Description
When @Scheduled annotations are configured in code but explicitly configured not to run (disabled), these jobs needlessly run. The only known place where this is now happening is Publish Admin Events.

Steps to reproduce

1. Don't configure any Publish Admin Event Configurations

Expected Behaviour
The publish admin events should not be called by Spring.

Observed Behaviour

The publish admin events are called by Spring.

 

Activity

Show:
All Replies
October 31, 2020, 1:18 AM

[This issue has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The reporter of this issue was djohnson]

All Replies
January 19, 2018, 11:50 AM

[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was djohnson] Part of this bug for ACTIVITI-1527 is fixed in 1.8 for event processing as part of the ElasticSearch work (ACTIVITI-1219).

Resolved

Assignee

Sohel Saiyed

Reporter

All Replies

Bug Priority

Category 1