Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342343

Summary: [EMF Runtime Extensions] ExtendedItemPropertyDescriptor#getValue() must not return null for unsettable many-valued attributes
Product: [Automotive] Sphinx Reporter: Stephan Eberle <stephaneberle9>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Stephan Eberle CLA 2011-04-08 22:13:40 EDT
= Problem description =
The purpose of ExtendedItemPropertyDescriptor#getValue() is to avoid that default values for unsettable attributes are displayed unless they have been explicitly set. Currently this is done for single and many-valued attributes. However, the default value display suppression is not necessary for many-valued attributes and causes NullPointerExceptions when attempting to edit such attributes in EMF.Edit based property sheets.

= Resolution approach =
Suppress default value display for unsettable single-valued attributes only.
Comment 1 Stephan Eberle CLA 2011-04-08 22:14:46 EDT
Fixed as proposed in description.
Comment 2 Balazs Grill CLA 2021-07-14 02:15:23 EDT
Mass-closing Resolved tickets