diff --git a/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/association/IndividualRecordValidationView.js b/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/association/IndividualRecordValidationView.js index 432832eb09..8665cc769d 100644 --- a/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/association/IndividualRecordValidationView.js +++ b/openidm-ui/openidm-ui-admin/src/main/js/org/forgerock/openidm/ui/admin/mapping/association/IndividualRecordValidationView.js @@ -61,7 +61,9 @@ define([ ConfigDelegate.readEntity("managed").then((managed) => { _.each(managed.objects, function(managedObject) { - if(managedObject.name === "user") { + if((managedObject.name === "user") + && managedObject.schema.properties.preferences + && managedObject.schema.properties.preferences.properties) { this.data.preferences = managedObject.schema.properties.preferences.properties; this.model.allPreferences = _.keys(this.data.preferences); }