[drupal-devel] [task] taxonomy: make node type a separatw table
tangent
drupal-devel at drupal.org
Tue Jan 18 22:23:38 UTC 2005
Project: Drupal
Version: cvs
Component: taxonomy.module
Category: tasks
Priority: normal
Assigned to: killes at www.drop.org
Reported by: killes at www.drop.org
Updated by: tangent
Status: patch
Are you sure no modules use get_vocab_by_name? I know that the
mailhandler module allows specifying a taxonomy by name instead of by
id.
tangent
Previous comments:
------------------------------------------------------------------------
March 31, 2004 - 18:33 : killes at www.drop.org
Attachment: http://drupal.org/files/issues/taxo_0.diff (4.7 KB)
I wanted to add caching by a static variable to
taxonomy_get_vocabularies(). While I was doing this, I remembered a
discussion about putting the node types in their own table and
extended
the patch to do this.
A problem is that all selects on the vocabulary table will no longer
contain the node types. Does anybody know of where this might cause
problems? taxonomy_get_vocabularies() will also not return the node
type
if called without parameter. I solved the only problem I found that
was caused by this.
The patch is incomplete, it does not contain update information and
database schemes. It also isn't tested. I'd like to get some feedback
on the implementation.
------------------------------------------------------------------------
August 12, 2004 - 10:40 : killes at www.drop.org
Doesn't apply anymore.
------------------------------------------------------------------------
January 18, 2005 - 15:50 : killes at www.drop.org
Attachment: http://drupal.org/files/issues/taxo_1.diff (9.33 KB)
I've updated the patch, but the upgrade path is still missing.
Related issues:
http://drupal.org/node/15690
http://drupal.org/node/6357
http://drupal.org/node/12542
------------------------------------------------------------------------
January 18, 2005 - 16:48 : killes at www.drop.org
Attachment: http://drupal.org/files/issues/taxo_2.diff (11.11 KB)
Removed static caching, addedupgrade path.
------------------------------------------------------------------------
January 18, 2005 - 17:20 : killes at www.drop.org
Attachment: http://drupal.org/files/issues/taxo_3.diff (11.09 KB)
New version. Removes taxonomy_get_vocab_by_name. Wasn't used.
--
View: http://drupal.org/node/6847
Edit: http://drupal.org/project/comments/add/6847
More information about the drupal-devel
mailing list