View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009651 | mantisbt | other | public | 2008-09-21 19:26 | 2008-12-16 08:38 |
Reporter | jcw | Assigned To | jreese | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.2 | ||||
Target Version | 1.1.6 | Fixed in Version | 1.1.6 | ||
Summary | 0009651: Version copy from parent project copies incorrect date | ||||
Description | This is an attempt to re-open issue 9037 and 8880 as the issue is marked resolved/closed but I am still experiencing the problem. PHP 5.2.6 I downloaded 1.1.2 today and installed, discovering this bug as I was learning how to utilize MantisBT. | ||||
Steps To Reproduce | 1.) Create a project | ||||
Additional Information | Please advise if further information is required. | ||||
Tags | patch | ||||
Attached Files | |||||
related to | 0009307 | closed | giallu | Copy Version from produce incorrect timestamp |
related to | 0008880 | closed | giallu | Problem with date formatting in db_prepare_date function |
has duplicate | 0009889 | closed | jreese | Dates corrupted after copying versions |
has duplicate | 0010348 | closed | giallu | Timestamp when Copying Target Versions |
CORRECTION: ISSUE 9307 should be referenced instead of 9037. I made a typo in the original notes; =============================================== As the reporting user indicated in bug 9307, the offending code appears to be: Current Codemanage_proj_ver_copy.phpforeach ( $t_rows as $t_row ) { Proposed Code [on issue 9037]manage_proj_ver_copy.phpforeach ( $t_rows as $t_row ) { |
|
I fixed with this piece of code.. in version_api.php change line 132 to: i hope this help.. |
|
This problem persists with 1.1.4. The first copy operation sets the version dates to 1222, if you copy these copied version entries again, it doesnt work at all, as there seems to be an underflow and a DB columns gets null, which leads to an exception. |
|
Confirmed that proposed fix by Artgroup was insufficient to resolve issue. Please re-evaluate proposed solution above <a href="http://www.mantisbt.org/bugs/view.php?id=9307">0009037</a> |
|
I can confirm that this issue is solved in Mantis v1.1.5 by the proposed fix from JCW in note (0019419) above: ====================================================================
|
|
Credit for finding the bug should go to mgstm who originally reported the issue on issue # 9307. |
|
Targetting for 1.1.6. This fix should also be ported to the development branch as well. |
|
Fixed in GIT trunk |
|
MantisBT: master 12e2ca76 2008-11-30 07:34 Paul Richards Details Diff |
fix 0009651: Version copy from parent project copies incorrect date |
Affected Issues 0009651 |
|
mod - manage_proj_ver_copy.php | Diff File | ||
MantisBT: master-1.1.x f38422b6 2008-11-30 07:34 Paul Richards Details Diff |
fix 0009651: Version copy from parent project copies incorrect date |
Affected Issues 0009651 |
|
mod - manage_proj_ver_copy.php | Diff File |