View Issue Details

IDProjectCategoryView StatusLast Update
0017763mantisbtapi soappublic2014-12-05 18:33
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.18 
Target Version1.2.18Fixed in Version1.2.18 
Summary0017763: mc_issue_update() email notification doesn't include added notes
Description

If mc_issue_update() is called with extra note to add as part of the update, the new note is not included in the email notification. I suspect that after we load the bug and its notes, the data is cached and the bugnote cache is not flushed. Searching for bugnote_clear_cache(), it seems it is only called in one place in print_all_bug_page_word.php.

TagsNo tags attached.

Activities

vboctor

vboctor

2014-10-21 22:26

manager   ~0041626

Here is the pull request:
https://github.com/mantisbt/mantisbt/pull/516

Related Changesets

MantisBT: master 38231611

2014-10-21 18:25

vboctor


Details Diff
mc_issue_update() email missing latest notes

The mc_issue_update() could result in updating or adding notes to the issue. Earlier in the method the issue and issue notes are loaded and cached. Then notes are updated. Then email API is called which loads the issue + notes again, but this time it hits stale cache.

Fixes 0017763
Affected Issues
0017763
mod - api/soap/mc_issue_api.php Diff File

MantisBT: master-1.2.x 43c39d75

2014-10-21 18:25

vboctor


Details Diff
mc_issue_update() email missing latest notes

The mc_issue_update() could result in updating or adding notes to the issue. Earlier in the method the issue and issue notes are loaded and cached. Then notes are updated. Then email API is called which loads the issue + notes again, but this time it hits stale cache.

Fixes 0017763
Affected Issues
0017763
mod - api/soap/mc_issue_api.php Diff File