Bug 159246 - [Repo View] CVS Properties page doesn't do the "Restore Defaults" in the right way.
Summary: [Repo View] CVS Properties page doesn't do the "Restore Defaults" in the righ...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P5 minor (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-09-29 05:02 EDT by kyungjae.baik CLA
Modified: 2019-09-06 16:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kyungjae.baik CLA 2006-09-29 05:02:47 EDT
In the CVS Properties Page, you get a list of connection types appended to the original one whenever pushing the "Restore Defaults" button. As a result, the Connection Type Combo is overloaded after a few clicks on the "Restore Defaults".

Here's a probable solution:

1. Go to package "org.eclipse.team.internal.ccvs.ui.repo"

2. In class "CVSRepositoryPropertiesPage.java" you'll notice initializeValues() is called upon everytime performDefaults() is executed.

3. This initializeValues() method does its job very, very well on adding connection types to the methodType property which is a Combo Class type everytime, it's invoked.

4. Now, you can removeAll() on the Combo before it is initialized again, or make sure it is initialized only once.

Thanks for your wonderful work, Eclipse Committers! Please keep it up!

Cheers,
kyungjae baik @ UCL(Ubiquitous Computing Lab), IBM, Korea

CC to ChangWoo: I'm able to report a BUG! Ain't that wonderful?
Comment 1 kyungjae.baik CLA 2006-09-29 05:04:42 EDT
By the way, this BUG was discovered in Eclipse 3.2
Comment 2 Gunnar Wagenknecht CLA 2006-09-29 05:31:06 EDT
Moving to Platform.
Comment 3 Michael Valenta CLA 2006-10-02 13:51:46 EDT
Not ideal but given that there do not appear to be any ill effects, not a priority for 3.3.
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:17:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.