Open Bug 721367 Opened 13 years ago

Custom field tables should exist when object_end_of_create hook is processing

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: aliustek, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111220165912 Steps to reproduce: Added a new column to Bugzilla::Field::Choice via object_columns hook and then when a new custom field is created say cf_hey, of type FIELD_TYPE_SINGLE_SELECT and FIELD_TYPE_MULTI_SELECT, add a new column to table cf_hey using object_end_of_create hook Actual results: Bugzilla throws a software error DBD::mysql::db do failed: Table 'test.cf_hey' doesn't exist [for Statement "UPDATE cf_hey SET optgroup_id = ?"] Expected results: object_end_of_create should have created the cf_hey table
You need to log in before you can comment on or make changes to this bug.