Community
Participate
Working Groups
Steps to reproduce: 1. Modify a shared project 2. Create a patch 3. Select "Workspace" as the location of the patch 4. Click "Browse..." 5. The "Save Patch" dialog shows up * Click "OK" - you'll get an error message ("Please enter a file name"). The button should be disabled from the start * Enter an invalid name for the patch file, and click "OK" - a different message will appear and the button will be still enabled
The problem was caused by not hooking the validation method to the event handler. I created a patch that should fix the problem. Tomasz, could you have a look at it?
Created attachment 107591 [details] Patch
I would embed disabling the OK button in validateFileName() method.
Created attachment 107615 [details] Patch
Created attachment 107711 [details] Patch v03 Here is your patch with some minor modifications. How does it look?
Created attachment 107712 [details] mylyn/context/zip
Looks fine, thanks for the change.
The latest patch released to HEAD. Thanks Pawel.