Community
Participate
Working Groups
Steps: 1. Add https://bugs.eclipse.org/bugstest as a repository 2. Submit bug The submission fails and an error is displayed in the task editor: Submit failed: invalid status: There is no status named 'NONE'.
Created attachment 204221 [details] error in task editor
Frank, can you check why these actions are shown when creating new tasks? This is related to bug 358906 and bug 359299.
Steffen, I have create an review http://review.mylyn.org/#change,67
Created attachment 204325 [details] mylyn/context/zip
Frank, can you provide some more information how the proposed change fixes the problem? It's not quite obvious to me from the code review how that works.
We had some places where we assume that when we are running Bugzilla >= 4.0 we also have the new workflow. 1) BugzillaClient.getPairsForNew we add the Operation if it is not new_default. For the old workflow we here had NONE. 2) BugzillaTaskDataHandler.initializeNewTaskDataAttributes here we use the Bugzilla4.0 Start Status even if we had the old workflow. For the old workflow we need the start status from the repository configuration. 3) RepositoryConfiguration.getStartStatus should return status new for bugzilla >=4.0 and old workflow. Hope this helps!
Thanks. I have committed the change to e_3_7_m_3_6_x and master.