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

CommentFileSizeAuthor
date_repeat_nodegen.module.patch1.42 KBfreidrichen

Comments

thesleuth’s picture

This patch helped out a lot. Thanks!

vgriffin’s picture

This patch does not fix problems with nodes using specific automatic alias values.

vgriffin’s picture

Assigned: Unassigned » vgriffin
Status: Needs review » Fixed

The bug has been fixed by 6.x-2.x-dev which does not include this patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.