View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014550 | mantisbt | api soap | public | 2012-08-03 15:39 | 2013-04-06 08:16 |
Reporter | Sergiodf | Assigned To | rombert | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.11 | ||||
Target Version | 1.2.12 | Fixed in Version | 1.2.12 | ||
Summary | 0014550: Incorrect values for date_order field when using mc_project_version_add() | ||||
Description | This issue may be the same as 0008566 or 0008767, in that case it is here with us again. An SQL error occurs when trying to add a new version using the SOAP API (something similar to "value truncated"). In the attached diff patch is the fix for mc_project_version_add(), but mc_project_version_update() may need a similar treatment. | ||||
Tags | No tags attached. | ||||
Attached Files | 14550.diff (420 bytes)
--- mc_project_api.php Mon Jan 19 19:26:36 1970 +++ mc_project_api.php Mon Jan 19 19:26:36 1970 @@ -322,7 +322,7 @@ if ( is_blank( $t_date_order ) ) $t_date_order = null; else - $t_date_order = date( "Y-m-d H:i:s", strtotime( $t_date_order ) ); + $t_date_order = iso8601_to_timestamp($t_date_order); $t_obsolete = isset ( $p_version['obsolete'] ) ? $p_version['obsolete'] : false; | ||||
MantisBT: master 9051f846 2012-08-04 01:31 Details Diff |
Fix 0014550: Incorrect values for date_order field when using mc_project_version_add() |
Affected Issues 0014550 |
|
mod - api/soap/mc_project_api.php | Diff File | ||
mod - tests/soap/VersionTest.php | Diff File | ||
MantisBT: master-1.2.x d1d49e4e 2012-08-04 01:31 Details Diff |
Fix 0014550: Incorrect values for date_order field when using mc_project_version_add() |
Affected Issues 0014550 |
|
mod - api/soap/mc_project_api.php | Diff File | ||
mod - tests/soap/VersionTest.php | Diff File | ||
MantisBT: master-1.2.x 218c5129 2012-08-05 09:19 Details Diff |
Fix 0014550: Incorrect values for date_order field when using mc_project_version_add() Fix double key in VersionTest ( thanks to atrol ). |
Affected Issues 0014550 |
|
mod - tests/soap/VersionTest.php | Diff File | ||
MantisBT: master fd1269a0 2012-08-05 09:20 Details Diff |
Fix 0014550: Incorrect values for date_order field when using mc_project_version_add() Fix double key in VersionTest ( thanks to atrol ). |
Affected Issues 0014550 |
|
mod - tests/soap/VersionTest.php | Diff File |