Skip to content

Commit

Permalink
fix for attribute choices in mappings using name instead of display name
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Aug 22, 2023
1 parent b44584d commit b2d0a68
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ private class AttributeDisplayableValue implements DisplayableValue<ItemPathType
private final ItemPathType value;

private AttributeDisplayableValue(ResourceAttributeDefinition attributeDefinition) {
this.displayName = attributeDefinition.getDisplayName() == null ?
attributeDefinition.getItemName().getLocalPart() : attributeDefinition.getDisplayName();
// this.displayName = attributeDefinition.getDisplayName() == null ?
// attributeDefinition.getItemName().getLocalPart() : attributeDefinition.getDisplayName();
this.displayName = attributeDefinition.getItemName().getLocalPart();
this.help = attributeDefinition.getHelp();
this.value = new ItemPathType(ItemPath.create(attributeDefinition.getItemName()));
}
Expand Down

0 comments on commit b2d0a68

Please sign in to comment.