Detail
Detail
Bugfix
Detail
#28618
LabelProviderService does not support enumerations
The LabelProviderService does not currently work with enumerations, as the type of the enum concerned is not handled correctly in the lookupModel method.
When processing enumerations, the current implementation of the LabelProviderService does not take into account that the owner (i.e. the enumeration itself) is required for enumeration values, not the type of the classifier.
The lookupModel method determines the wrong type for enumeration values, which means that no custom LabelServiceProviders can be configured for enums.
TLModelUtil.type should be used instead of the current implementation, as this method already handles the described case correctly and returns the owner of a classifier.