Closed (duplicate)
Project:
Project issue tracking
Version:
5.x-2.x-dev
Component:
Issues
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2007 at 21:10 UTC
Updated:
23 Jul 2007 at 03:46 UTC
When an issue is first created with the project_issue module, no matter what you select in the status drop-down during creation, the status is shown as blank when you view the issue. The database is storing an sid of 0. The default is set to 'active' (1).
I did a little testing, and $node->sid is set to 0 before it gets passed to project_issue_insert or project_issue_update. I don't know where it's getting changed or if Drupal is not processing the form field? Could another module interfere in this manner?
Comments
Comment #1
Josh Benner commentedI had the Workflow Fields module enabled. Once I disabled this module, Issues works normally. This is probably an issue with the Workflow Fields module, I'd assume.
Comment #2
dwwSadly, this is yet another instance of the following bugs:
http://drupal.org/node/98278 (specific to project*)
http://drupal.org/node/148420 (more generally, core-wide)
The problem is that both project_issue.module and workflow.module think they "own"
$node->sid. Evil and wrong. Both modules are at fault. See #98278 for my plans to fix this in project*.