Closed (won't fix)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.x-dev
Component:
number.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2008 at 11:13 UTC
Updated:
11 Jan 2012 at 16:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedTrue. Classical quirk of PHP's empty() function. Similar problem existed for text fields (when entering '0' as a value). Additionally, same problem was present when *displaying* the '0' value once it had entered the database.
Should be fixed now in latest D6 branch. Thanks for reporting
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
liquidcms commentedcan i just hijack this and set it to Dr5? lol.. anyway.. this is busted as well in 5.x-1.9 let me know if i should mod info above or make a new ticket.
Comment #4
agileware commentedHere is a patch that fixes this problem from the current 5.x-1.x-dev
Comment #5
agileware commentedThe patch in #4 causes problems with userreference fields.
Empty userreference fields are getting zero instead of NULL, which is not good.
Comment #6
agileware commentedThis is a problem when using a numeric cck field that is not required and can have a database value of NULL.
Comment #7
agileware commentedHere is a proper patch that, unlike the one in #4, works :)
Comment #8
karens commentedThe D5 version is no longer being supported. Sorry.