It looks like github_widget_node_update() assumes there's already a record for the current node, and github_widget_node_insert() only adds a record if you fill out the fields, so creating a node without the fields filled in makes it impossible to go back and add them later.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | node_update_fix-1140834-1.patch | 1.28 KB | scw |
| #2 | node_update_fix-1140834-1.patch | 1.28 KB | scw |
Comments
Comment #1
sreynen commentedDeleting and inserting on update rather than updating a record that may or may not be there seems to solve the problem.
Comment #2
scw commentedyes that's right, a problem in hook_node_update...
Comment #3
scw commentedonce again...
Comment #4
peter-boeren commentedThnx guys,
Haven't had time to fix it myself. Will apply the patch and test it.