Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0009889mantisbtadministrationpublic2009-06-26 12:02
Reporterstefang Assigned Tojreese  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
OSWindowsOS VersionXP SP3 english 
Product Version1.1.5 
Summary0009889: Dates corrupted after copying versions
Description

After copying versions from one project to another all the dates/timestamps are complete nonsens. Something in the copy/conversion routine went wrong.

Steps To Reproduce
  1. Create versions in one project.
  2. Copy versions from this project into another one.
  3. See that the dates/timestamps are corrupted.
Additional Information

Screenshots of the versions before and after the copying attached.

TagsNo tags attached.
Attached Files
Versions_Original.jpg (133,411 bytes)   
Versions_Original.jpg (133,411 bytes)   
Versions_aftercopy.jpg (133,564 bytes)   
Versions_aftercopy.jpg (133,564 bytes)   

Relationships

duplicate of 0009651 closedjreese Version copy from parent project copies incorrect date 

Activities

stefang

stefang

2008-11-25 03:50

reporter   ~0020018

Sorry, I'm unable to attach the screenshots as I get the following error:

APPLICATION ERROR #503

Dateiübertragung nicht erfolgreich. Das Verzeichnis existiert nicht oder konnte nicht beschrieben werden.

stefang

stefang

2008-11-25 04:26

reporter   ~0020019

This is a duplicate of 0009651.

I can further confirm that it is solved by the proposed fix from JCW in note (0019419):

====================================================================
manage_proj_ver_copy.php

foreach ( $t_rows as $t_row ) {
if ( version_is_unique( $t_row['version'], $t_dst_project_id ) ) {
version_add( $t_dst_project_id, $t_row['version'], $t_row['released'], $t_row['description'], db_date($t_row['date_order']) );
}
}