If I create a project node associated with a Harvest project that has only one task, I get multiple errors like this when I go to view the node:

user warning: Unknown column 't' in 'where clause' query: SELECT assignment FROM harvest_assignments WHERE type = 'task-category' AND id = t in /XXXXX/sites/all/modules/harvest/harvest_projects/harvest_projects.module on line 495.

Comments

dafeder’s picture

May be a bug in the API - I am debugging the module and when I dump project_tasks (harvest_projects.module, line 376) I get:

Array
(
    [t] => true
    [f] => false
    [9] => 95.0
    [6] => 666320
    [5] => 506935
)

for a one-task project. Submitting a report to Harvest.

dafeder’s picture

Actually, scratch that, the XML itself looks fine, identical to the XML for multiple tasks. Can't figure out what is causing this but it's definitely happening during parsing. Can anyone replicate?

bobooon’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Project has been discontinued.