Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
forum.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2007 at 12:29 UTC
Updated:
24 Sep 2007 at 23:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
cburschkaDoes this occur if you also include the Taxonomy module in the profile, and place it before Forum in the array? Making installation profiles.
The profile install system could use the same dependency checking that manually enabled modules get. Perhaps it could begin installing modules in the order of dependency rather than in the one specified in the profile... on the other hand, this might be unnecessary overhead.
Comment #2
asimmonds commentedTaxonomy was already included in the profile, and it doesn't matter where it is located in the array, before or after forum, the error is still received.
One of the ways around this that I can think of, is wrap the taxonomy code in forum_install() in a drupal_load('module', 'taxonomy') call. At this point of the install, the database schema is loaded and the tables have been created so we shouldn't get any table missing errors.
Attached patch uses this method (could also possibly generate a message or log a error if taxonomy module can not be loaded at this point)
Comment #3
asimmonds commentedThis doesn't happen any more, as the vocabulary creation was moved to forum_enable() when http://drupal.org/node/172643 was committed.