Closed (fixed)
Project:
G2 Glossary
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2011 at 10:35 UTC
Updated:
6 Aug 2011 at 13:11 UTC
I'm doing some tests for compatibility with one problem module, so I do uninstallation of all modules.
While G2 uninstallation I've got:
Fatal error: Undefined constant 'G2\NODETYPE' in Z:\home\paris7.kz\www\emploi\sites\all\modules\g2\g2.install on line 206
I have G2 7.x-1.x-dev of 2011-02-25
Comments
Comment #1
fgmConfirmed: in current D7,
module_enable()does amodule_load_include()of the module before doing amodule_load_install()to invoke thehook_install()implementation, butdrupal_uninstall_modules()does not, so g2_uninstall() was missing the G2 namespace constants from the module file.Fixed in today's dev version.
Comment #2
clashar commentedfgm, thanks for quick fix