View Issue Details

IDProjectCategoryView StatusLast Update
0013446mantisbtapi soappublic2013-09-06 19:38
Reportervboctor Assigned Torombert  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.8 
Target Version1.2.9Fixed in Version1.2.9 
Summary0013446: Add tags support to soap api
Description
  • mc_issue_get() returns tags as part of IssueData.
  • mc_issue_update() takes in tags as part of IssueData and applies any changes to it.

We could also add the following:

mc_issue_tag_attach( $p_username, $p_password, $p_tags ) -- the tags are comma separated.
mc_issue_tag_detach( $p_username, $p_password, $p_tags ) -- the tags are comma separated.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
related to 0016340 closeddregad Error 401 for Manage Tags 

Activities

rombert

rombert

2011-10-28 13:18

reporter   ~0030098

Again, agreed. What do you think about using TagData/TagDataArray objects rather than strings?

rombert

rombert

2011-12-05 07:54

reporter   ~0030466

This is now fixed.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036334

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

Related Changesets

MantisBT: master 505c0607

2011-12-04 21:15

rombert


Details Diff
Implement mc_tag_get_all, mc_tag_add, mc_tag_delete

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
add - api/soap/mc_tag_api.php Diff File
add - tests/soap/TagTest.php Diff File
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_core.php Diff File
mod - tests/soap/AllTests.php Diff File
mod - tests/soap/SoapBase.php Diff File

MantisBT: master-1.2.x 9a1a1c48

2011-12-04 21:15

rombert


Details Diff
Implement mc_tag_get_all, mc_tag_add, mc_tag_delete

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
add - api/soap/mc_tag_api.php Diff File
add - tests/soap/TagTest.php Diff File
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_core.php Diff File
mod - tests/soap/AllTests.php Diff File
mod - tests/soap/SoapBase.php Diff File

MantisBT: master 5ccae290

2011-12-04 22:48

rombert


Details Diff
Allow getting/setting tags as part of the mc_issue(get/set/add) methods

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_tag_api.php Diff File
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File

MantisBT: master-1.2.x 0a8bbbdf

2011-12-04 22:48

rombert


Details Diff
Allow getting/setting tags as part of the mc_issue(get/set/add) methods

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_tag_api.php Diff File
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File

MantisBT: master 617fba51

2011-12-04 22:53

rombert


Details Diff
Allow getting/setting tags as part of the mc_issue(get/set/add) methods

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
mod - tests/soap/IssueAddTest.php Diff File

MantisBT: master 9e3d7711

2011-12-04 23:40

rombert


Details Diff
SOAP API: tag fixes

- add mc_issue_set_tags
- use proper access checks when attaching and detaching tags

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_tag_api.php Diff File
mod - tests/soap/TagTest.php Diff File

MantisBT: master-1.2.x c9c13982

2011-12-04 23:40

rombert


Details Diff
SOAP API: tag fixes

- add mc_issue_set_tags
- use proper access checks when attaching and detaching tags

Fixes 0013446: Add tags support to soap api
Affected Issues
0013446
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_tag_api.php Diff File
mod - tests/soap/TagTest.php Diff File

MantisBT: master-1.2.x 0d9c5e79

2013-09-06 15:01

dregad


Details Diff
Fix usage of tag_get_all for DBs not using Assoc fetch mode

This is a regression caused by implementation of issue 0013446 (see
commit be3dde781523d4ecf11664eff0e6ec050993e044), which used a foreach
to iterate throught the ADOdb recordset returned by tag_get_all(),
instead of using MantisBT's db_fetch_array() function which takes care
of row association for DBs not supporting it natively.

Fixes 0016340
Affected Issues
0013446, 0016340
mod - api/soap/mc_tag_api.php Diff File
mod - core/tag_api.php Diff File
mod - manage_tags_page.php Diff File

MantisBT: master 566b5363

2013-09-06 15:01

dregad


Details Diff
Fix usage of tag_get_all for DBs not using Assoc fetch mode

This is a regression caused by implementation of issue 0013446 (see
commit be3dde781523d4ecf11664eff0e6ec050993e044), which used a foreach
to iterate throught the ADOdb recordset returned by tag_get_all(),
instead of using MantisBT's db_fetch_array() function which takes care
of row association for DBs not supporting it natively.

Fixes 0016340
Affected Issues
0013446, 0016340
mod - api/soap/mc_tag_api.php Diff File
mod - core/tag_api.php Diff File
mod - manage_tags_page.php Diff File