This is not a critical issue but generally slows down importing. On a blog of 2,500 entries, the delay was noticeable.

I (badly) hacked the module to only call it once, but it is not worthy of a patch. If I have time, I'll clean it up and submit a patch. Otherwise it might be a good to-do for the maintainer.

Comments

lavamind’s picture

Normally, node_save() is only called a second time as needed. Mainly this happens after processing taxonomy for a post. When I worked on that part of the code, I found that calling node_save() was actually required so that taxonomy would be correctly saved. If you know of a solution for this, let us know!

lavamind’s picture

Assigned: Unassigned » lavamind
Status: Active » Fixed

OK, I changed the taxonomy processing so that now we use the taxonomy parameter of the node object. Since there was no other real need for the second node_save, I removed it.

Committed to 6.x-2.x-dev.

Thanks!

Status: Fixed » Closed (fixed)

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