When using a node type mapped to multiple products using a view, in conjunction with Vertical Tabs module, the redirect (to select a product type) occurs on the edit content type page (admin/content/node-type/%) for uc_node_checkout types. This prevents editing the content type.
This happens because vertical tabs creates a node form programmatically in the background for introspection, triggering ucnc's form_alter with no nid.
Attached 1-line patch avoids redirecting when the node form is #programmed.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_node_checkout-programmed.patch | 554 bytes | rstaylor |
Comments
Comment #1
socialnicheguru commentedwhat is the status of this?
Comment #2
rszrama commentedThanks for digging this one up! I had no clue why the poster in #514278: Editing content type takes me to product selection was having that trouble, but I'm betting it was this same issue. Committed!