Details
-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
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); } }