List:Eventum General Discussion« Previous MessageNext Message »
From:Jeffrey D. Wheelhouse Date:March 13 2005 9:20am
Subject:Bug updating an issue
View as plain text  
I've taken a couple of these this evening:

Warning: Invalid argument supplied for foreach() in 
/nfsn/hosts/issues/include/class.issue.php on line 1074

It comes from this:

             // add people to the assignment list, if appropriate
------->      foreach ($new_assignees as $assignee) {
                 if (!in_array($assignee, $old_assignees)) {

and it manifests when updating a ticket (as in clicking "Update" from 
the view menu).  Pretty much any update seems to do it.

"keep_assignments" is coming in "no" but there is no "assignments" in 
the POST:

Array ( [cat] => update [issue_id] => 224 [resolution] => 0 [category] 
=> 4 [status] => 8 [priority] => 9 [keep] => yes 
[expected_resolution_date] => Array ( [Month] => [Day] => [Year] => ) 
[percent_complete] => 0 [estimated_dev_time] => 0 [keep_assignments] => 
no [search] => paste or start typing here [group] => [release] => 0 
[summary] => ... [description] => ... [private] => 0 [trigger_reminders] 
=> 1 )

I think this is a result of the recent issue assignment security patch.

Thanks
Jeff




Thread
Bug updating an issueJeffrey D. Wheelhouse13 Mar
  • RE: Bug updating an issueJoao Prado Maia14 Mar
    • Re: Bug updating an issueJeffrey D. Wheelhouse14 Mar
      • Re: Bug updating an issueBryan Alsdorf14 Mar
        • Re: Bug updating an issueElan Ruusamäe14 Mar
          • Re: Bug updating an issueJeffrey D. Wheelhouse14 Mar
          • RE: Bug updating an issueJoao Prado Maia14 Mar
            • Re: Bug updating an issueJeffrey D. Wheelhouse15 Mar
              • Re: Bug updating an issueBryan Alsdorf16 Mar
      • RE: Bug updating an issueJoao Prado Maia14 Mar