Enhancement
(User-visible)
Problem
Not all objects have a "name" or ID column. However, it sometimes happens that a label has to be created for such objects, e.g. in error messages of the knowledgebase when saving... something like "Error in object without name: Value must not be empty." Or in the confirmation message of the delete command. Here "null" is output as the label.
Suggestion
Perhaps you can define a label provider as a fallback that supplies a constant string of the type "Object without name" or an identifier of the type "Object 47110815" if no other label is available?
Then the behavior would at least be uniform across the application.
Test
- Delete object without name attribute, without ID attribute, or with empty name or ID attribute. You are asked whether an unnamed object of type "..." should be deleted.