ldap port
This commit is contained in:
1 parent
c75dcb90c2
commit
4302b440ee
21 files changed
+2063
-35
No files matched your search
+4
-1
@@ -1964,7 +1964,10 @@ public class RealmAdapter extends AbstractMongoAdapter<MongoRealmEntity> impleme
|
||||
}
|
||||
updateComponentEntity(entity, model);
|
||||
model.setId(entity.getId());
|
||||
if (model.getParentId() == null) entity.setParentId(this.getId());
|
||||
if (model.getParentId() == null) {
|
||||
entity.setParentId(this.getId());
|
||||
model.setParentId(this.getId());
|
||||
}
|
||||
realm.getComponentEntities().add(entity);
|
||||
updateRealm();
|
||||
ComponentUtil.notifyCreated(session, this, model);
|
||||
|
||||
Reference in new issue
Block a user