Bug 35420 - Reloading a feature removes that feature from the model
Summary: Reloading a feature removes that feature from the model
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 blocker (vote)
Target Milestone: 2.1 RC3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 17:22 EST by Dejan Glozic CLA
Modified: 2003-03-20 17:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Glozic CLA 2003-03-20 17:22:30 EST
When feature model is reloaded as a reaction to resource change, during parsing 
we connect plug-in entries with plug-ins in the workspace. While calling to 
resolve plug-in entry in the workspace, 'validate' method validates features as 
well and removes the parsed feature because it still didn't run the validation 
pass on itself. 

This problem is easy to fix by restricting validation to the actual class of 
objects that is needed. For example, when features are needed, validation is 
performed only on features etc.

Fixed and verified.
Comment 1 Dejan Glozic CLA 2003-03-20 17:25:19 EST
Fixed.