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

Bug 413550

Summary: Repository credentials are overwritten during repository settings validation
Product: z_Archived Reporter: Jaxsun McCarthy Huggan <jaxsun.mccarthy>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: thomas.ehrnhoefer
Version: 3.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jaxsun McCarthy Huggan CLA 2013-07-23 12:21:14 EDT
When validating repository settings a temporary @TaskRepository@ object is created and has the current unsaved settings applied to it. If a repository settings page calls the super method of @applyTo@ to apply common settings to the provided repository the credentials associated with the repository's URL are overwritten in the platform storage. Because of this hitting cancel after validating settings results in the repository's credentials being altered even though no finish or save action was triggered. Connectors can avoid this by caching the old credentials when applying settings to the @TaskRepository@ however this should not be a necessary step. 

This issue exists in the Bugzilla connector's settings page as well as many 3rd party connectors.
Comment 1 Sam Davis CLA 2013-07-23 13:17:28 EDT
This is the same issue  as

*** This bug has been marked as a duplicate of bug 326119 ***