Closed (fixed)
Project:
Phone Number
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2011 at 10:42 UTC
Updated:
27 Oct 2011 at 18:50 UTC
When you disable Phone number the following notices appear:
Notice: Use of undefined constant CCK_PHONE_PHONE_MAX_LENGTH - assumed 'CCK_PHONE_PHONE_MAX_LENGTH' in cck_phone_field_schema() (line 17 of (...)/sites/all/modules/cck_phone/cck_phone.install).
Notice: Use of undefined constant CCK_PHONE_CC_MAX_LENGTH - assumed 'CCK_PHONE_CC_MAX_LENGTH' in cck_phone_field_schema() (line 22 of (...)/sites/all/modules/cck_phone/cck_phone.install).
Notice: Use of undefined constant CCK_PHONE_EXTENSION_MAX_LENGTH - assumed 'CCK_PHONE_EXTENSION_MAX_LENGTH' in cck_phone_field_schema() (line 27 of (...)/sites/all/modules/cck_phone/cck_phone.install).
I set this to minor, because uninstalling the module gets rid of them.
Comments
Comment #1
Jerome F commentedMy last assumption was not true, each time you disable an other module, the notice is back on the admin/module page.
But that's not the only module which causes that kind of notice, link module also :
Is it rather a D7 core issue?
Is this somehow related to the field delete issue? http://drupal.org/node/943772
Comment #2
ckngFixed in D7 dev.
Constants were defined in .module, not accessible after disabled.