Menu

#35 Error creating Tasks for Project

open
nobody
None
5
2012-09-14
2005-04-28
Karl Breeze
No

When I press the "Add New Task" button after completing
the details for a new task, I get the following error:

<error>
Notice: Undefined index: assigned in
/srv/www/htdocs/timesheet/task_action.php on line 23

Warning: Cannot modify header information - headers
already sent by (output started at
/srv/www/htdocs/timesheet/task_action.php:23) in
/srv/www/htdocs/timesheet/task_action.php on line 47
</error>

It does appear to create the task.

I am using version 1.2.0

Any help will be very greatly appreciated.

Kind regards,
Karl

Discussion

  • Karl Breeze

    Karl Breeze - 2005-04-28

    Logged In: YES
    user_id=815849

    I have just discovered that this only appears to happen is
    no users are selected to be assigned to the task.

     
  • Scott Johnson

    Scott Johnson - 2005-05-12

    Logged In: YES
    user_id=778075

    Change the following in task_action.php :

    replace line 23:
    $assigned = $_REQUEST["assigned"];

    with:
    $assigned = isset($_REQUEST['assigned']) ?
    $_REQUEST['assigned']: array();

    It seems to fix that general problem.

    I pulled this from proj_action.php

    Scott

     
  • Dominic Gamble

    Dominic Gamble - 2005-05-23

    Logged In: YES
    user_id=377918

    I've fixed it in CVS now. It will be in the next release (1.2.1)

    Could someone please contribute their time to go over these
    setup dialogs and do javascript validation?

     

Log in to post a comment.