View Issue Details

IDProjectCategoryView StatusLast Update
0021372mantisbtapi soappublic2016-08-28 01:12
ReporterrombertAssigned Torombert 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0 
Target Version1.3.1Fixed in Version1.3.1 
Summary0021372: Unable to report issues using the SOAP API - Data truncated for column 'last_updated'
Description

When using the SOAP API and reporting an issue with the last_updated column set, an error is triggered. AFAICT the field is read as-is in string format, but it should be an int.

SoapFault: Error Type: APPLICATION ERROR 0000401,
Error Description: Database query failed. Error received from database was 0001265: Data truncated for column 'last_updated' at row 1 for the query: INSERT INTO mantis_bug_table
                        ( project_id,reporter_id, handler_id,duplicate_id,
                          priority,severity, reproducibility,status,
                          resolution,projection, category_id,date_submitted,
                          last_updated,eta, bug_text_id,
                          os, os_build,platform, version,build,
                          profile_id, summary, view_state, sponsorship_total, sticky, fixed_in_version,
                          target_version, due_date
                        )
                      VALUES
                        ( ?,?,?,?,
                          ?,?,?,?,
                          ?,?,?,?,
                          ?,?,?,?,
                          ?,?,?,?,
                          ?,?,?,?,
                          ?,?,?,?)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.3.x 1746e62c

2016-07-18 17:35:06

rombert

Details Diff
Fix 0021372: Unable to report issues using the SOAP API - Data truncated
for column 'last_updated'
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueAddTest.php Diff File

MantisBT: master 76f3f9a6

2016-07-18 17:35:06

rombert

Details Diff
Fix 0021372: Unable to report issues using the SOAP API - Data truncated
for column 'last_updated'
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueAddTest.php Diff File

Issue History

Date Modified Username Field Change
2016-07-18 17:28 rombert New Issue
2016-07-18 17:28 rombert Status new => assigned
2016-07-18 17:28 rombert Assigned To => rombert
2016-07-18 17:35 rombert Changeset attached => MantisBT master-1.3.x 1746e62c
2016-07-18 17:35 rombert Status assigned => resolved
2016-07-18 17:35 rombert Resolution open => fixed
2016-07-18 17:35 rombert Fixed in Version => 1.3.1
2016-07-18 17:36 rombert Changeset attached => MantisBT master 76f3f9a6
2016-08-28 01:12 vboctor Status resolved => closed