Skip to content

Commit

Permalink
Fix unqualified attribute definition lookup
Browse files Browse the repository at this point in the history
Fixes e930f67.
  • Loading branch information
mederly committed May 2, 2023
1 parent e930f67 commit 73bc2c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public List<? extends ResourceAttributeDefinition<?>> getAttributeDefinitions()

@Override
public @Nullable ResourceAttributeDefinition<?> findAttributeDefinition(QName name, boolean caseInsensitive) {
if (caseInsensitive || isMutable()) {
if (caseInsensitive || isMutable() || QNameUtil.isUnqualified(name)) {
return ResourceObjectDefinition.super.findAttributeDefinition(name, caseInsensitive);
} else {
return attributeDefinitionMap.get(name);
Expand Down

0 comments on commit 73bc2c0

Please sign in to comment.