Details
-
Type:
Bug Report
-
Status: Closed
-
Priority:
L3 - Default
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.4.0, 7.4.0-alpha3
-
Component/s: engine
Description
The iteration over the cached event subscriptions isn't null save as event name can be null.
public class EventSubscriptionManager extends AbstractManager { // ... public List<EventSubscriptionEntity> findEventSubscriptionsByNameAndExecution(String type, String eventName, String executionId, boolean lockResult) { // ... for (EventSubscriptionEntity subscription : eventSubscriptions) { if(subscription.getEventName().equals(eventName) && subscription.getEventType().equals(type)) { result.add(subscription); } }