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

hron84’s picture

Additional information: Issue creation form is displayed normally, if Project Selection Widget is Autocomplete.

senpai’s picture

Status: Active » Closed (works as designed)

In #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. :)

bdragon’s picture

Status: Closed (works as designed) » Active

No, 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.

bdragon’s picture

Status: Active » Fixed

There 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.