diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/CommonServer.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/CommonServer.java index 4fd86f5cf996fc7e2d9b5b934751d84e6e1d22e6..7ef3f725eda253a534b6345c497a50c07e67411a 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/CommonServer.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/CommonServer.java @@ -456,9 +456,12 @@ public final class CommonServer extends AbstractCommonServer<ICommonServer> impl final IPropertyTypeTable propertyTypeTable = businessObjectFactory.createPropertyTypeTable(session); if (withRelations) + { propertyTypeTable.loadWithRelations(); - else + } else + { propertyTypeTable.load(); + } final List<PropertyTypePE> propertyTypes = propertyTypeTable.getPropertyTypes(); Collections.sort(propertyTypes); return PropertyTypeTranslator.translate(propertyTypes,