View Issue Details

IDProjectCategoryView StatusLast Update
0008792mantisbtotherpublic2008-11-25 15:23
ReporterBorszczuk Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Summary0008792: "Copy version from" inserts bogus date
Description

Whenever you decide to copy version from other project (in my case from parent project) I get odd date for that version. Ordinary add version correctly inserts "2008-01-22...." while copy puts "1901-12-13...". Shouldn't that either clone the date or at least put current one?

Steps To Reproduce

create project say "A". Add version tag to "A". create subproject. Now copy the versions from "A".

TagsNo tags attached.
Attached Files
version-copy-date.patch (373 bytes)   
diff mantis-1.1.0/manage_proj_ver_copy.php mantis-1.1.1/manage_proj_ver_copy.php
54c54
<               version_add( $t_dst_project_id, $t_row['version'], $t_row['released'], $t_row['description'], $t_row['date_order'] );
---
>               version_add( $t_dst_project_id, $t_row['version'], $t_row['released'], $t_row['description'], db_date($t_row['date_order']) );
version-copy-date.patch (373 bytes)   

Relationships

duplicate of 0008878 closedgiallu Copy Versions scrambles Timestamp 

Activities

Borszczuk

Borszczuk

2008-01-24 19:30

reporter   ~0016807

Added patch to address the issue.

giallu

giallu

2008-03-05 19:41

reporter   ~0017265

This is a duplicate that should be fixed with the patch I applied in 0008880.