This patch fixes it by adding a bit more of a robust node adding method. The thing is, the error only shows up in Postgre... the problem is that catalog is enabled, then product_kit... but this all happens within one page load if you're installing a bunch of modules... taxonomy_vocabulary_load caches the vocab, so those node added by catalog don't get seen by product kit, so it tries to add itself again, but Postgre throws a warning then. Patch follows.

Comments

Island Usurper’s picture

Status: Needs review » Fixed
StatusFileSize
new1.71 KB

Looks good. New patch just moves uc_catalog_add_node_type() to the bottom of the file since it's not a hook.

Status: Fixed » Closed (fixed)

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