Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Jan 2009 at 22:21 UTC
Updated:
13 Feb 2009 at 01:40 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | uc_catalog_node_types.patch | 1.71 KB | Island Usurper |
| uc_catalog_node_types.patch | 1.73 KB | cha0s |
Comments
Comment #1
Island Usurper commentedLooks good. New patch just moves uc_catalog_add_node_type() to the bottom of the file since it's not a hook.