Community
Participate
Working Groups
Editor seems to do a connector.getTaskUrl() call, whereas the context menu of the task list uses task.getUrl(), thus requiring a taskAttribute to be set. I think they should both do the same check, as if e.g. the task does not contain the Url, the open in browser works in the editor, but not in the context menu, which is confusing. I would vote for not using task.getUrl, as the connector.getTaskUrl() needs to be called in various places anyway, thus being there already. Or could that be too expensive? Maybe a double-check, first task.getUrl(), if not set, connector.getTaskUrl(), but for both occurrences the same
Created attachment 183962 [details] patch This patch check task.getUrl and then connector.getAuthenticatedUrl. Also added the isValidUrl check to the editor action
Created attachment 183963 [details] mylyn/context/zip
Created attachment 184875 [details] fix
Created attachment 184876 [details] mylyn/context/zip
Thanks for pointing this out. We should have a single action that handles enablement and execution. Thomas, please verify that the committed changes works as expected.
Thanks Steffen, works as expected