View Issue Details

IDProjectCategoryView StatusLast Update
0022552mantisbtapi soappublic2017-03-20 15:02
ReporterGeminiDominoAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformApache 2.4.7/PHP 5OSUbuntu x64OS Version14.04 LTS
Product Version2.2.1 
Target VersionFixed in Version 
Summary0022552: mc_issue_update doesn't honor project "resolved/read only" settings, adjusted threshholds, or "allow reporters to reopen"
Description

Attempting to change an issue's status from "resolved" to "new" returns "Issue '#' is readonly" despite adjusting the project configuration that should both allow reporters to update readonly issues and change resolved and readonly thresholds to "closed" (q.v. full set of adjusted settings in add'l info)

The reporter can successfully add notes to a resolved ticket with mc_issue_note_add()

Steps To Reproduce
  1. Create a ticket as the reporter.
  2. Update ticket status to "resolved".
  3. Call mc_issue_update with generated issue ID and Issue data:
    (variables are populated with the fields from the current issue, only status is changed. All fields marked "optional" in WSDL but the call fails if these minimums are not set)
    [ 'project' => $project_id,
    'category' => $category,
    'status'=>['name'=>'new'],
    'summary'=>$summary,
    'description'=>$description]
Additional Information

---- Workflow Thresholds: ----
Reporter Permissions:

  • Report an Issue
  • Update an Issue
  • Allow Reporter to Close Issue
  • Monitor an Issue
  • Reopen an Issue
  • Allow Reporter to Reopen issue
  • Status to which a reopened issue is set: "new"
  • Status where an issue is considered resolved: "closed"
  • Status where an issue becomes read only: "closed"
  • Update Read only issues
  • Update Issue Status
  • Set View state when reporting a new issue or note

    • Add Notes

    • View Issue History

---- Workflow Transitions ----

  • Status where an issue is considered resolved: "closed"
  • Status to which reopened issues are set: "new"

Access Levels:

  • Resolved: "reporter"
TagsNo tags attached.

Relationships

related to 0012328 acknowledgedrombert Normalise access checks between the web interface and the SOAP API 

Activities

GeminiDomino

GeminiDomino

2017-03-20 15:00

reporter   ~0056130

Possibly related:

Attempting to update an issue with status other than "resolved" (e.g. "Feedback") with the same values as above displayed "Access denied for user user0" after passing an invalid userID to mci_soap_fault_access_denied() - instead, it passes the string "User '7' does not have access right to assign issues"

Issue History

Date Modified Username Field Change
2017-03-20 14:54 GeminiDomino New Issue
2017-03-20 15:00 GeminiDomino Note Added: 0056130
2017-03-20 15:02 atrol Relationship added related to 0012328