View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008348 | mantisbt | api soap | public | 2007-09-11 22:17 | 2011-10-27 05:26 |
| Reporter | whobe | Assigned To | |||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | acknowledged | Resolution | open | ||
| Product Version | 1.1.0a4 | ||||
| Summary | 0008348: mantisconnect ignores g_status_enum_workflow | ||||
| Description | Using the soapui I can change the status of an issue to anything. If there is a restriction in place it is ignored and the issue status is changed anyway. I'm using mc_issue_update. Also, it says that the project, summary and category are optional, but I always have to supply these. In addition to this a request for mc_enum_status should have an optional parameter issue_id and return only those statuses valid for the workflow of this issue. This will maky my mylyn mantis connector useful. As it is I cannot allow anyone to use it or workflow would go out the window. | ||||
| Steps To Reproduce | Restrict the workflow from a particular status. | ||||
| Tags | refactoring, soap api | ||||
|
The suggested change make sense. One of the reason MantisConnect is now part of Mantis is to gradually make sure that all business logic in Mantis is also used by MantisConnect. The cases where such business logic is not applied is mainly due to the business logic living in Mantis script pages rather than the API. I also agree with adding the functionality of allow the retrieval of next possible statuses for a specific issue based on workflow rules. |
|
|
What work is required to get this issue resolved???
This wouldn't really require any changes to the mantis script pages initially as it would just double enforce/check the workflow. Correct? |
|
|
It will only require changes to the script if there is currently logic in the script pages which does the enforcement of the workflow. In this case, this code should be moved to the API and used from both the script page and the SOAP API. |
|
|
Hello, are there any news concerning this issue? I have been trying Mylyn Mantis Connector and was suprised, that you can set every issue to any state. |
|
|
Well, no one cared that much to implement it. Would you be willing to contribute a patch? |
|