Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 264383 - [target] First page of new target definition wizard always resets contents
Summary: [target] First page of new target definition wizard always resets contents
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Ankur Sharma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 11:52 EST by Curtis Windatt CLA
Modified: 2009-04-09 10:11 EDT (History)
2 users (show)

See Also:


Attachments
Patch (20.00 KB, patch)
2009-04-09 09:59 EDT, Ankur Sharma CLA
curtis.windatt.public: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2009-02-10 11:52:10 EST
1) Go to the Target platform preference page (experimental)
2) Hit Add...
3) Hit next, make some changes to the definition
4) Hit back
5) Hit next
Result:
Any changes that were made during step (3) are gone.

While changing the type to initialize the definition with should reset the contents, if nothing on the page changes we should avoid resetting all the user edited data.
Comment 1 Curtis Windatt CLA 2009-03-31 11:35:33 EDT
Ankur, this is minor, but could be fixed by keeping a pointer to the targets we create in the selection page and reusing them instead of creating new ones.
Comment 2 Ankur Sharma CLA 2009-04-09 09:59:25 EDT
Created attachment 131392 [details]
Patch

The TargetCreationPage now remembers the targets created for each option when "Next" is clicked. If one is already present, that it send ahead instead of creating a new one.
Comment 3 Curtis Windatt CLA 2009-04-09 10:11:11 EDT
Awesome, applied patch.