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

Bug 342832

Summary: [Discovery] Values lost when clicking anywhere in the launch config dialog
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M7   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 334539    
Bug Blocks:    

Description Nicolas Bros CLA 2011-04-14 09:06:58 EDT
- Create a discovery launch configuration
- select discoverer "org.eclipse.modisco.java.discoverer.project"
- select a Java project as source.
- select a few jars in the ELEMENTS_TO_ANALYZE parameter
- click in empty space anywhere in the dialog
- click "Apply"
- move to another launch configuration and then back

The ELEMENTS_TO_ANALYZE parameter is now empty.

This is because the "source" field sends a "commit" event every time a click is done outside of this field. But since the cell editor is embedded in a field, it never closes, so it continues to send these events for each click.

And since there is no "changed" event, the dialog uses this "commit" event to re-initialize the parameters that depend on the source when the source changes.
Comment 1 Nicolas Bros CLA 2011-04-20 04:51:24 EDT
Fixed in revision 4328.
Comment 2 Hugo Bruneliere CLA 2011-08-18 08:10:47 EDT
Bug fixed.