View Issue Details

IDProjectCategoryView StatusLast Update
0016484mantisbttaggingpublic2014-02-07 18:24
Reporterdregad Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.15 
Target Version1.2.16Fixed in Version1.2.16 
Summary0016484: SOAP: Impossible to attach tags to issues
Description

PHP Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] Error Type: APPLICATION ERROR 0000401,
Error Description: Database query failed. Error received from database was #1048: Column 'user_id' cannot be null for the query: INSERT INTO mantis_bug_tag_table
( tag_id,
bug_id,
user_id,
date_attached
)
VALUES
( ?,
?,
?,
?
). in /path/to/Soap.php:20
Stack trace:
#0 /path/to/Soap.php(20): SoapClient->__call('mc_issue_add', Array)
0000001 /path/to/Soap.php(20): SoapClient->mc_issue_add('user', 'password', Array)
0000002 {main}
thrown in /path/to/Soap.php on line 20

TagsNo tags attached.

Activities

dregad

dregad

2013-10-14 08:09

developer   ~0038255

I backported the fix to 1.2 as it would apply there as well

Related Changesets

MantisBT: master 84a8078b

2013-10-14 03:22

dregad


Details Diff
Fix SOAP: Impossible to attach tags to issues

Caused by assigning to unused variable $p_user_id $p_user_id === NULL.
Not sure why this has not come up before, as this bug was actually
introduced a long time ago (a602c5edb5335c46a506166ef68218c7bf3e50de).

Fixes 0016484
Affected Issues
0016484
mod - core/tag_api.php Diff File

MantisBT: master-1.2.x fbadfc73

2013-10-14 03:22

dregad


Details Diff
Fix SOAP: Impossible to attach tags to issues

Caused by assigning to unused variable $p_user_id $p_user_id === NULL.
Not sure why this has not come up before, as this bug was actually
introduced a long time ago (a602c5edb5335c46a506166ef68218c7bf3e50de).

Fixes 0016484
Affected Issues
0016484
mod - core/tag_api.php Diff File