Hi!
I noticed this bug when trying to use this module a few months ago. If I remember correctly I got an error message and the first node in a sequence wasn't created at all. Looking at the code I found the root of this bug, and was able to make a patch that fixes it.
Previously the original node id got overwritten in the node creation loop (unset($node->nid);), but actually needs to be preserved at the end of the function. With this very simple patch the node id of the first node is saved in a variable until all other nodes are created, then the original node id is restored. Now all nodes get created as they should.
Hope this helps someone else too.
//Magnus
| Comment | File | Size | Author |
|---|---|---|---|
| date_repeat_nodegen.module.patch | 1.42 KB | freidrichen |
Comments
Comment #1
thesleuth commentedThis patch helped out a lot. Thanks!
Comment #2
vgriffin commentedThis patch does not fix problems with nodes using specific automatic alias values.
Comment #3
vgriffin commentedThe bug has been fixed by 6.x-2.x-dev which does not include this patch.