Verify that the value passed to fid doesn't exceed the maximum value the field is able to contain
KiamLaLuno - July 5, 2009 - 03:54
| Project: | Custom filter |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
As consequence of #510484: Incorrect definition of the fid database field, the code must verify that it doesn't assign to fid a value that the database field cannot contain.
The limit is caused by filter.module, which saves the delta value obtained from the modules in a database field that is defined as a tiny integer, which has the size of a byte (in MySQL), or two bytes (in PostgreSQL).

#1
Let us try again; first, the code must be changed in branch 6.x-2.
#2
The code has been changed for both the branches, and committed in CVS.
#3