Voting starts in March for the Drupal Association Board election.
The code in node_resource.inc
drupal_form_submit($node->type . '_node_form', $form_state, $old_node);
makes the assumption that
$node->type is allways set.
If not, the absence of type results in the following notices/warnings:
Notice: Undefined index: type in _node_resource_update() (line 282 of /services/sites/all/modules/contrib/services/resources/node_resource.inc). Notice: Undefined index: _node_form in drupal_retrieve_form() (line 735 of /services/includes/form.inc). Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_node_form' not found or invalid function name in drupal_retrieve_form() (line 770 of /services/includes/form.inc).
From my point of view it's not desireable to force the client to PUT the node type for an update.
We could just take it from the $old_node object, if not set in the PUT request.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch allow-no-node-type-2.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch allow-no-node-type.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View
FAILED: [[SimpleTest]]: [MySQL] 1,860 pass(es), 12 fail(s), and 8 exception(es). View