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

fgm’s picture

Status: Active » Fixed

Confirmed: in current D7, module_enable() does a module_load_include() of the module before doing a module_load_install() to invoke the hook_install() implementation, but drupal_uninstall_modules() does not, so g2_uninstall() was missing the G2 namespace constants from the module file.

Fixed in today's dev version.

clashar’s picture

fgm, thanks for quick fix

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.