Bugs #2954: Adding Timesheet gives error-message while saving

Ticket modified by Tracking System at 2011/06/16 16:03
Tracking System: Bugs
Category: Timesheet
Version: Trunk

Status: Closed
Resolution: Works for me
Completed: 0%
Priority: 5 - medium
Created By: Marc Vollmer
Created on: 2011/05/04 11:57
Assigned to: Ralf Becker
Summary: #2954 - Adding Timesheet gives error-message while saving
Hello together,
scince two days we have an issue adding new timesheets in the timesheet category.

  1. add timesheet
  2. select project & insert a duration
  3. press save & new
    …results in the following failure and does not result in an timesheet entry.

Warning: DateTime::setTime() expects parameter 1 to be long, string given in /var/www/egroupware/timesheet/inc/class.timesheet_ui.inc.php on line 123

Warning: DateTime::setTime() expects parameter 1 to be long, string given in /var/www/egroupware/timesheet/inc/class.timesheet_ui.inc.php on line 130

  • we do not get this failure, if we do not choose a project and just type in a title.
  • we do not get this failure, if we add a timesheet directly within a project in the project manager.
    …in both cases a valid entry appears.

our egroupware:
we update our installation to the 1.8001 a few months ago from the 1.6xxx
we also tried the actual trunk (20110421), but it does not fix this problem.

our system:
PHP Version 5.2.4-2ubuntu5.15
Apache2.2.8
mySql 5.0.51a
Ubuntu Linux 8.04.2 (turnkey linux lamp)

do not hesitate to contact me for any kind of questions.

thank you & best regards,
marc


Comment by Tracking System at 2011/06/16 16:03:
This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days.


Comment by Birgit Becker at 2011/06/02 15:24:
I can not reproduce that on our trunk installation - we do not have these error/problems.

Your php-version is pretty old, maybe you should update at least to an uptodate 5.2.

Regards

Birgit

.

linked entries:
https:///egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2954&no_popup=1