Community
Participate
Working Groups
Build Identifier: Mylyn stores task repositories passwords in Secure Storage. If Eclipse cannot write to the configured directory/file and Mylyn cannot store Repository password, it fails silently. It would be great to have some message. Reproducible: Always Steps to Reproduce: https://studio.atlassian.com/browse/PLE-1308
Agreed, the error handling needs to be improved.
I can confirm this issue. When unchecked "Save password" validate says "OK". Then checking "Save password" validate says "invalid login". Again unchecking "Save password" and validate says "OK". When multiple failed logins occur subsequently, Jira requires a Web-Login with Captcha entered, before login can be successful, and a popup tells you to do that. Expected behaviour would be that the password gets validated first, and if it is valid, it should be saved. After saving, it should be reread and compared with the password previously saved to warn the user, if the saved password is not correct because saving was not successful. A good warning message in this case would be "Validation OK, but saving password failed." Otherwise any subsequent request will fail silently.
In case you have following in your stacktrace: org.eclipse.equinox.security.storage.StorageException: No secure storage modules found here is a link to the related issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=329615
Yes, I saw such an exception stack trace in the error log. That bug seems to be very old and still present. I have added my stack trace from a newer Eclipse version there.
A possible workaround could be to avoid the interactive password dialog and store the master password in a file. Probably it could fail to ask for the master password for any reason and cause the secure storage to fail. How to disable interactive password dialog and store the master password in a file is described in the comments of the bug 241223: See https://bugs.eclipse.org/bugs/show_bug.cgi?id=241223 and read the comments 2-6 of that bug. This might help as a workaround and may help to narrow down the bug.
Customers are really suffering from this issue. We get several support requests related to this bug and also some comunity questions like this one: https://answers.atlassian.com/questions/77259/eclipse-jira-plugin-does-not-send-password
This was fixed. *** This bug has been marked as a duplicate of bug 429678 ***