I am running Drupal Core 6.10 and the latest development versions of Project, Project Issue Tracker and Views as of today.

I am having so many view-related errors that I must have done something wrong. Here are some examples:

First example:

1. Define a project, but do not define any releases for it.
2. Create an issue for the project
3. View issues and click on the project name (first column in issues table)

warning: Invalid argument supplied for foreach() in C:\wamp\www\SWD\sites\all\modules\project_issue\views\handlers\project_issue_handler_filter_issue_version.inc on line 104.

Second example:

1. As above, but
2. Define a release for the project.
3. View issues and click on the project name (first column in issues table)

* warning: array_fill() [function.array-fill]: Number of elements must be positive in C:\wamp\www\SWD\includes\database.inc on line 241.
* warning: implode() [function.implode]: Invalid arguments passed in C:\wamp\www\SWD\includes\database.inc on line 241.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND tn.nid IN (8) ORDER BY td.weight' at line 1 query: SELECT td.name, td.tid, tn.nid FROM term_data td INNER JOIN term_node tn ON td.tid = tn.tid WHERE tn.tid IN () AND tn.nid IN (8) ORDER BY td.weight in C:\wamp\www\SWD\sites\all\modules\project_issue\views\handlers\project_issue_handler_filter_issue_version.inc on line 70.

Any thought son what I am doing wrong?

Thanks,
Carlos

Comments

dww’s picture

Status: Active » Closed (duplicate)
cmundi’s picture

Thanks, but that's not it. The issue persists even with Project Releases enabled.

I provided more detail in related http://drupal.org/node/437670 : Error when clicking on Project from the Issues view