Community
Participate
Working Groups
Currently canCreateTaskFromKey() and canCreateNewTask() is invoked per connector and not per repository. If an instance of TaskRepository was passed to these methods task repositories that do not support these operations could be excluded from the list displayed by the "Add Existing Repository Task" and "New Repository Task" wizards. This was originally discussed in bug 146334.
Fixed.
Not fixed (wrong report). Steffen, do you want to create a patch for this? Also, please create a new report as I mentioned on my last comment on bug 146334 so that you can start providing patches for your connector.
I was just checking the cvs to see how this report was fixed :). I'll look into creating a patch.
Created attachment 47030 [details] Adds a repository parameter to canCreate*() methods Each connector is queried for the capability of each of its task repositories before the list of repositories is displayed in the wizard.
Created attachment 47031 [details] mylar/context/zip
Patch applied. At some point we may need to look at separating the capability of connectors to create new tasks, and their ability to do so for a particular repository, since these are now conflated.