[BulkTagging] added check to verify if field is present in the pathMap

This commit is contained in:
Miriam Baglioni 2024-02-28 09:41:42 +01:00
parent 4374d7449e
commit c94d94035c
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ public class Constraints implements Serializable {
for (Constraint sc : constraint) {
boolean verified = false;
if(!param.containsKey(sc.getField()))
return false;
for (String value : param.get(sc.getField())) {
if (sc.verifyCriteria(value.trim())) {
verified = true;