sergehuber commented on code in PR #715:
URL: https://github.com/apache/unomi/pull/715#discussion_r2428305110


##########
plugins/baseplugin/src/main/java/org/apache/unomi/plugins/baseplugin/conditions/PropertyConditionEvaluator.java:
##########
@@ -91,14 +93,15 @@ private int compare(Object actualValue, String 
expectedValue, Object expectedVal
         } else if (expectedValueDateExpr != null) {
             return 
getDate(actualValue).compareTo(getDate(expectedValueDateExpr));
         } else {
-            return actualValue.toString().compareTo(expectedValue);
+            // We use toLowerCase here to match the behavior of the analyzer 
configuration in the persistence configuration
+            return 
actualValue.toString().toLowerCase().compareTo(expectedValue);

Review Comment:
   Thanks for catching this, I've changed it to foldToASCII.



-- 
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