Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2008 at 22:00 UTC
Updated:
17 Feb 2008 at 19:33 UTC
When a node, taxonomy term, or taxonomy vocabulary was saved, the nid/vid/tid of the created object was added to the $form_state to allow other modules a chance to operate on them. This is also essential when using drupal_execute(); otherwise, there's no way to determine the nid of the node that was created.
This behavior was accidentally lost during a refactoring at some point in the past couple of months. The attached patch adds the line back in and also fixes a minor error in the drupal_execute() PHPdoc. Without it, the code snippet generates errors.
| Comment | File | Size | Author |
|---|---|---|---|
| node_save_results.patch | 1.59 KB | eaton |
Comments
Comment #1
moshe weitzman commentedU just code reviewed this but i think it is trivial enough to commit without deeper review.
Comment #2
moshe weitzman commenteder, "I" code reviewed this. I think it is RTBC.
Comment #3
gábor hojtsyHm, looks good, committed. Thanks.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.