Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342832 - [Discovery] Values lost when clicking anywhere in the launch config dialog
Summary: [Discovery] Values lost when clicking anywhere in the launch config dialog
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0 M7   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 334539
Blocks:
  Show dependency tree
 
Reported: 2011-04-14 09:06 EDT by Nicolas Bros CLA
Modified: 2011-08-18 08:10 EDT (History)
2 users (show)

See Also:
nicolas.bros: indigo+


Attachments

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