[bug found] Before insert/update operational hooks don't work correctly

eugenio

Administrator
Staff member
For any field except from image_file fields, the corresponding value of the $parameters_ar array is NULL; for image_file fields, the hook can trigger a PHP error or store an empty value value instead of a NULL value in case the field was empty. This bug has been introduced with V 11.7 and affects both V 11.7 and V 11.8.

The related documentation, for before insert hooks, also contains a mistake: it stated that before insert hooks "receives as input an associative array containing all the values the user filled in the update form" (it should be "insert form").

The fix will be available with the next release of DaDaBIK.
 

eugenio

Administrator
Staff member
The bug has been fixed and V 11.8 has been silently updated today. Instructions about how to re-download the file have been sent through the newsletter.
 
Top