Community
Participate
Working Groups
The only location which fires this event is the TaskRepositoryLocationUi$PasswordRunner. The task repository dialog should also fire this change event when the username and/or password change.
Robert, would you be able to provide a patch to fix this?
I might find the time, but I will only be able to look into it in September.
Ideally these listeners would be notified by the TaskRepository itself. However, since the listeners are registered in the ui plugin, we can't do that. I see two possibilities: # create a TaskRepositoryCredentialsChangeListener class which can be registered to the TaskRepository and have the TasksUiPlugin register a listener which is notified of credentials changes. In turn, these credential changes would be propagated to listeners of the TaskRepositoryManager # add the change logic in the AbstractRepositorySettings.apply No matter what the approach is, the events should only be fired if the credentials changed. The taskRepository should return a boolean from the setter if the credentials changed. What do you think?
Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn