Closed (fixed)
Project:
Project issue tracking
Version:
7.x-2.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2012 at 13:59 UTC
Updated:
22 Oct 2012 at 16:41 UTC
If I want to create a new issue and have the project select box selected ( admin/config/project/settings -> Select box)
Then if I want to create an issue I get the following error:
Recoverable fatal error: Argument 1 passed to project_projects_select_options() must be an array, null given, called in /www/issues/sites/all/modules/project_issue/includes/issue_node_add.inc on line 55 and defined in project_projects_select_options() (line 505 of /www/issues/sites/all/modules/project/project.module).
Comments
Comment #1
hron84 commentedAdditional information: Issue creation form is displayed normally, if Project Selection Widget is Autocomplete.
Comment #2
senpai commentedIn #1, @hron84 is correct. The 'project selection' must be an autocomplete textfield, or it can cause the site to lock up and crash as it attempts to load thousands of project entities into memory all at once. :)
Comment #3
bdragon commentedNo, both methods are valid. We do not use select for drupal.org though so the fix is unfortunately a bit lower priority at the moment, since we're in the middle of shaking down project for the future drupal.org upgrade.
However, if someone else has time to look into this, it would be helpful.
Comment #4
bdragon commentedThere was an api change in project that project_issue didn't compensate for.
http://drupalcode.org/project/project_issue.git/commit/9dcdc9104f57f88cf...
Please reopen if this doesn't fix the problem.