Empty field gets set to 0 when updating bug

Frédéric Buclin lpsolit at gmail.com
Mon Aug 4 15:51:36 UTC 2008


Andrew Marold a écrit :
> problems. When I edit a bug if I leave this field empty, it winds up 
> getting set to 0.

Why don't you use existing custom fields? Unless you put any special 
test on the field, you already can use "free text" to do what you want. 
Anyway, the validator must be in VALIDATORS in Bug.pm, or 
UPDATE_VALIDATORS (doesn't matter) and you must list your custom field 
in UPDATE_COLUMNS.

LpSolit




More information about the developers mailing list