You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/web/rulebuilder/dto/FieldData.java
Copy file name to clipboardExpand all lines: admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/web/rulebuilder/service/AbstractRuleBuilderFieldService.java
field = dynamicEntityDao.getFieldManager().getField(dto, fieldData.getFieldName());
188
+
if (field != null) {
189
+
break;
190
+
}
191
+
}
192
+
if (field == null) {
193
+
thrownewIllegalArgumentException("Unable to find the field declared in FieldData (" + fieldData.getFieldName() + ") on the target class (" + getDtoClassName() + "), or any registered entity class that derives from it.");
187
194
}
188
-
}
189
-
if (field == null) {
190
-
thrownewIllegalArgumentException("Unable to find the field declared in FieldData (" + fieldData.getFieldName() + ") on the target class (" + getDtoClassName() + "), or any registered entity class that derives from it.");
191
195
}
192
196
}
193
197
}
@@ -221,7 +225,7 @@ public void afterPropertiesSet() throws Exception {
0 commit comments