| Summary: | submitting new bugs to Bugzilla 4.0 results in error: Submit failed: invalid status: There is no status named 'NONE' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||||
| Component: | Mylyn | Assignee: | Frank Becker <eclipse> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P1 | CC: | robert.elves | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.6.3 | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 337245, 358906, 359299 | ||||||||
| Attachments: |
|
||||||||
|
Description
Steffen Pingel
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. |