Closed (fixed)
Project:
View reference
Version:
6.x-2.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2009 at 22:28 UTC
Updated:
14 Mar 2009 at 13:10 UTC
As described here: http://www.palantir.net/blog/beware-mysql-51-my-son
Viewreference defines its vid field as NOT NULL default 0. CCK then uses actual NULL values when a viewreference is not used. MySQL 5.1 for many versions accidentally forces strict mode handling of NULL fields. Hilarity ensues as viewreference fields now become mandatory as not specifying them causes an SQL error.
The solution is to allow NULL values in that column and adjust other code accordingly.
Comments
Comment #1
danielb commentedThanks crell