Active
Project:
Imagefield Crop
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2012 at 16:37 UTC
Updated:
12 Nov 2012 at 16:37 UTC
If you submit an entity form that has a printable area field and do not select the crop region, you will get a PDO exception that an incorrect integer value was detected. This is because the X and Y coordinate columns have a NULL value.
I've looked through the code for an obvious place to insert a restriction but nothing stands out thus far. Does this belong in the hook_field_presave() implementation?