View Issue Details

IDProjectCategoryView StatusLast Update
0010323mantisbtapi soappublic2013-04-06 08:26
Reportervboctor Assigned Torombert  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Target Version1.2.6Fixed in Version1.2.6 
Summary0010323: mc_issue_update() will set optional fields to default values rather than leave them with current values
Description

According to the schema, some of the IssueData fields are optional. If such fields are not supplied, mc_issue_update() will set them to the default values rather than leaving them unchanged as per the expected behaviour.

Work around: always do mc_issue_get() before applying updates.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036442

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 4ccdf686

2011-05-27 07:56

rombert


Details Diff
SOAP API: Issue updates only set the provided fields

When updating an issue the issue is first loaded from the database and
then only the provided fields are used to update it. The sponsorship
total is no longer updated since it is a computed field and should not
be manipulated directly.

Fixes 0010323: mc_issue_update() will set optional fields to default
values rather than leave them with current values
Affected Issues
0010323
mod - api/soap/mc_issue_api.php Diff File

MantisBT: master-1.2.x 75bfe81c

2011-05-27 07:56

rombert


Details Diff
SOAP API: Issue updates only set the provided fields

When updating an issue the issue is first loaded from the database and
then only the provided fields are used to update it. The sponsorship
total is no longer updated since it is a computed field and should not
be manipulated directly.

Fixes 0010323: mc_issue_update() will set optional fields to default
values rather than leave them with current values
Affected Issues
0010323
mod - api/soap/mc_issue_api.php Diff File