Community
Participate
Working Groups
Driver: WTP 2.0 200706050057 driver In the Axis2 runtime preference page, the Axis2 runtime location is saved once the user enters or browses for the location. Even if the user then decided to hit Cancel to not save their selection, they are not able to do so. After the user enters or browse for the location, validation should be done to make sure that it's a valid Axis2 location. However, it should not be saved to the preference store until the user actually hits OK.
Actually, this applies to the Axis2 Preference page as well. The values of the preference should only be stored when the user click OK, but not if they click Cancel.
Created attachment 84556 [details] Patch to delay saving values in the persistent context till Apply or OK Patch to delay storing information entered by the user till user selects OK, or Apply. If user makes any changes then selects Cancel, no information would be persisted, and settings would be untouched.
Patch reviewed and tested. I found problem with the presistence of the sync and async button and made the following change to the patch: context.setAsync(asyncOnlyRadioButton.getSelection()); context.setSync(syncOnlyRadioButton.getSelection()); I've committed the patch and released it to HEAD as v200712060346.
I had a look at the patch and its seems to be resolving the problem except that the diff of the patch is not that clear. I am seeing a total removal of the file content and again total addition of most of the same content. This seems to be a bit problem when identifying what actually being done, as I see it. Other than that the issue resolved and +1 for the path Thanks Lahiru
Verified on WTP 3.0 12/06 driver.
mass change to add 'contributed' keyword based on bugzilla query, please correct if that's not accurate (by marking patches as obsolete and removing the 'contributed' keyword.