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

Bug 311535

Summary: [debug] opening dialog for ot-launch already modifies
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7   
Target Milestone: 0.7 M3   
Hardware: Other   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix
none
fix for the "Team Activation" tab none

Description Stephan Herrmann CLA 2010-05-04 09:02:54 EDT
When opening a launch configuration with OTRE enabled, the page immediately
"thinks" it has changes, so if you close it (or switch to another launch
configuration) you're asked whether to save or discard changes.

It seems we are writing some attribute even if there's no change.
Comment 1 Stephan Herrmann CLA 2010-05-21 13:11:12 EDT
Created attachment 169527 [details]
fix

Fixed by setting the OT_LAUNCH attribute only when changed.
Comment 2 Stephan Herrmann CLA 2010-05-21 13:17:38 EDT
Patch has been committed as r356.
Comment 3 Stephan Herrmann CLA 2010-05-29 06:16:27 EDT
The "enable OTRE" checkbox no longer causes problems, but the
"Team Activation" tab still does.
Comment 4 Stephan Herrmann CLA 2010-05-29 17:14:19 EDT
Created attachment 170462 [details]
fix for the "Team Activation" tab

This fix avoids irrelevant changes in the team activation tab.
Comment 5 Stephan Herrmann CLA 2010-05-29 17:15:39 EDT
Fix part 2 has been committed as r391.
Comment 6 Stephan Herrmann CLA 2010-06-02 18:04:49 EDT
Verified using 201005310634.