Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342343 - [EMF Runtime Extensions] ExtendedItemPropertyDescriptor#getValue() must not return null for unsettable many-valued attributes
Summary: [EMF Runtime Extensions] ExtendedItemPropertyDescriptor#getValue() must not r...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 22:13 EDT by Stephan Eberle CLA
Modified: 2021-07-14 02:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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