Community
Participate
Working Groups
I am developing a connector, and I think I might have spotted a minor bug. My backend requires a login, but it is legal to have an empty password. However, AbstractRepositorySettingsPage.isPageComplete() explicitly checks - via the private method isMissingCredentials() - against empty passwords. This means that I cannot easily implement isPageComplete() in my RepositorySettings class which extends AbstractRepositorySettingsPage, because I cannot call super.isPageComplete() with an empty password, and I also cannot bypass AbstractRepositorySettingsPage and call isPageComplete() in its superclass AbstractTaskRepositoryPage. If you understand... I think a reasonable fix would be to make AbstractRepositorySettingsPage.isMissingCredentials() protected instead of private.
I'll look into adding the necessary API.
Created attachment 153691 [details] fix I will apply this patch once version numbers are increased to 3.4.0. We are still at 3.3.1 at the moment and can't make API changes, yet. I expect this change to go into a build sometime in January.
Created attachment 153692 [details] mylyn/context/zip
Committed patch to head.