Using Mantis 1.1.2
When I copy a version from one project to another, the timestamp shows up on the receiving project as 1905-.....
If I edit the version and clear the timestamp and save it, the timestamp is recorded as 1969-12-31 19:00 EST
Help would be appreciated.
Regards,
-jP
Version Timestamp (Copy From or Edit)
Moderators: Developer, Contributor
-
jkpalmer52
- Posts: 78
- Joined: 23 Feb 2005, 17:29
- Location: US-Chicago area
Re: Version Timestamp (Copy From or Edit)
Hi have the same problem.
Also if i try to copy the version with wrong time stamp to another project I got this error:
Also if i try to copy the version with wrong time stamp to another project I got this error:
Any idea??APPLICATION ERROR #401
Database query failed. Error received from database was #1048: Column 'date_order' cannot be null for the query: INSERT INTO mantis_project_version_table
( project_id, version, date_order, description, released )
VALUES
( '19', 'ALPHA1', null, '', '1' )
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Chris by ArtGroup
Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2
Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2
Re: Version Timestamp (Copy From or Edit)
It seems that I fixed the issue modifying this function: version_api.php
My version of mantis is 1.1.2.
With this modification seems to be fixed, but I have the CEST time instead of CET.. I don't know if this make any difference
Code: Select all
if ( null === $p_date_order ) {
$c_date_order = db_now();
} else {
$c_date_order = db_timestamp(db_date( $p_date_order ));# Original code: db_timestamp( $p_date_order );
}With this modification seems to be fixed, but I have the CEST time instead of CET.. I don't know if this make any difference
Chris by ArtGroup
Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2
Mantis: 1.1.2
PHP: 5.2.5
SQL: MySQL 5.0.51a
OS: XP SP2