I have multiple vocabularies associated with the biblio content type. Each time I upgrade the biblio module, those associations get deleted. Not a big problem, as I can just restore the vocabulary_node_types table from backup, but I'm just wondering if this is a known issue or I'm "doing it wrong".

Comments

rjerome’s picture

I wasn't aware of that. What are you doing when you "upgrade"? Are you running the update.php script? The update script shouldn't do anything since there were no changes to the database lately. Does is show that it's doing something?

Ron.

john bickar’s picture

My upgrade process:

  1. Disable biblio module and dependent modules
  2. Remove biblio directory from sites/all/modules
  3. Download and gunzip/untar updated biblio module
  4. Run update.php (it doesn't show that it has done anything)
  5. Re-enable biblio and dependent modules
  6. Go to admin/content/taxonomy and see that my vocabularies are no longer associated with the biblio content type

It's got to be something that update.php is doing to the database, no?

rjerome’s picture

Hmm, this is a head scratcher. I'll dig into the code a bit and see if I can figure out what is going on. There was another issue related to taxonomy (http://drupal.org/node/206374), so I guess this whole area needs a little attention.

Ron.

rjerome’s picture

It seems that it's the disabling of the module which is causing the vocabulary_node_types to be deleted. I don't know exactly why yet (biblio is not doing this) but as a work around you can install updated module files without disabling it first and thus avoid this loss of information.

Ron.

john bickar’s picture

OK, thanks, good to know.

catdevrandom’s picture

Status: Active » Closed (fixed)