mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +08:00
Exception in Entity Inspector after wf$CardInfo selected. #PL-6098
This commit is contained in:
parent
accfa7ada4
commit
6bd00a6073
@ -286,14 +286,19 @@ public class FetchGroupManager {
|
||||
|
||||
private void includeSystemProperties(View view, FetchGroupField parentField, Set<FetchGroupField> fetchGroupFields) {
|
||||
Class<? extends Entity> entityClass = view.getEntityClass();
|
||||
MetaClass metaClass = metadata.getClassNN(entityClass);
|
||||
if (BaseEntity.class.isAssignableFrom(entityClass)) {
|
||||
for (String property : getInterfaceProperties(BaseEntity.class)) {
|
||||
fetchGroupFields.add(createFetchGroupField(entityClass, parentField, property));
|
||||
if (metadataTools.isPersistent(metaClass.getPropertyNN(property))) {
|
||||
fetchGroupFields.add(createFetchGroupField(entityClass, parentField, property));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Updatable.class.isAssignableFrom(entityClass)) {
|
||||
for (String property : getInterfaceProperties(Updatable.class)) {
|
||||
fetchGroupFields.add(createFetchGroupField(entityClass, parentField, property));
|
||||
if (metadataTools.isPersistent(metaClass.getPropertyNN(property))) {
|
||||
fetchGroupFields.add(createFetchGroupField(entityClass, parentField, property));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user