[ https://issues.apache.org/jira/browse/UNOMI-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Gerthoffert updated UNOMI-687: --------------------------------------- Fix Version/s: unomi-2.6.0 (was: unomi-2.5.0) > Clean scope check in EventCollectorEndpoint > ------------------------------------------- > > Key: UNOMI-687 > URL: https://issues.apache.org/jira/browse/UNOMI-687 > Project: Apache Unomi > Issue Type: Task > Reporter: Jonathan Sinovassin-Naïk > Priority: Minor > Fix For: unomi-2.6.0 > > > In the file EventCollectorEndpoint, there is a check which can be removed > [https://github.com/apache/unomi/blob/master/rest/src/main/java/org/apache/unomi/rest/endpoints/EventsCollectorEndpoint.java#L100] > In the existing code, there is a check on the nullity of the scope of the > events. > If they are null, we are using systemScope. But it can't happen because > scopes are validated trough JSON schemas and can not be null -- This message was sent by Atlassian Jira (v8.20.10#820010)