Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
fieldgroup.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2008 at 10:22 UTC
Updated:
21 Aug 2008 at 15:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
mh86 commentedupdated patch, which fixes problems in the previous one. I added the update query, which sets the module weight, to the fieldgroup_install() function too.
Additionally I removed
variable_set('fieldgroup_schema_version', 6000);from the install hook, because as far as I can see, the schema_version gets set automatically to the newest version this way or the other.Comment #2
yched commentedThis was present in D5 fieldgroup_install(), not sure why this disappeared.
Fixed (not your exact patch, so be sure to update your code). Thanks.
Note : 'fieldgroup_schema_version' is a hack used to track internal schema changes - we leave it unchanged unless an update function changes the actual db structure for the module.
Side note : looking at this part of code, it seems we don't have any update function that changes table names from D5 node_group* to D6 content_group* ? Meaning we curently lose fieldgroup info on update ? I'll double check that...
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.