I know there has been an issue for the 5.x branch (http://drupal.org/node/27865) but I do have that issue also in 6.x and hence opened a new issue here.

In project_issue.module there is the project_issue_project_page_link_alter(&$links, $node) which adds a link 'View pending patches' and hard-codes the issue statuses 8, 13 and 14.

On a site where you don't have those issue statuses at all you end up with terrible SQL error messages and I think that's a bad idea. If you want to have that link 'View pending patches' you should check if those do exist beforehand and if none of them exists then don't show the link at all.

Comments

dww’s picture

Status: Active » Closed (duplicate)

It doesn't matter if the older issue is from an older version -- issues need to get their version bumped all the time to keep up with reality. #27865: Remove hard-coded status options