dgriffon commented on code in PR #666:
URL: https://github.com/apache/unomi/pull/666#discussion_r1627884433


##########
tools/shell-commands/src/main/resources/requestBody/2.0.0/event_migrate.painless:
##########
@@ -18,7 +18,7 @@
 /* Handle login events */
 if ('login' == ctx._source.eventType) {
     /* Look for empty scope */
-    if (ctx._source.scope == '') {
+    if (ctx._source.scope == '' || ctx._source.scope == null) {

Review Comment:
   Indeed, it has been moved to a 2.5.0 migration step



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to