Skip to content

Commit

Permalink
bringing back searchable items from ObjectType, common-3/ObjectType i…
Browse files Browse the repository at this point in the history
…s not the same as types-3/ObjectType (fixing MID-6945).
  • Loading branch information
katkav committed Mar 30, 2021
1 parent 2ebc0a7 commit d9de5dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -370,7 +370,7 @@ public static <C extends Containerable> List<SearchItemDefinition> getAvailableD
definitions.addAll(createExtensionDefinitionList(objectDef));

Class<C> typeClass = objectDef.getCompileTimeClass();
while (typeClass != null && !ObjectType.class.equals(typeClass)) {
while (typeClass != null && !com.evolveum.prism.xml.ns._public.types_3.ObjectType.class.equals(typeClass)) {
List<ItemPath> paths = CollectionUtils.isEmpty(availableItemPath) ? getAvailableSearchableItems(typeClass, modelServiceLocator) : availableItemPath;
if (paths != null) {
for (ItemPath path : paths) {
Expand Down

0 comments on commit d9de5dc

Please sign in to comment.