Closed (fixed)
Project:
CCK IP Address
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
10 Sep 2007 at 22:19 UTC
Updated:
27 Oct 2011 at 22:40 UTC
When "Reject non-routable IP addresses" is checked..
You MUST enter in a valid ip on your node.
Otherwise, 0.0.0.0 is entered and fails the check.
This makes it so ip address or ip range becomes a required field which shouldn't be the case.
Comments
Comment #1
firebus commentedugh. i was lazy about comparing 0 to empty string AND i was casting empty strings as '000' with sprintf!
i have this fixed i think and will commit in a moment.
Comment #2
sgriffin commentedI uploaded your commits for .module and .css but I still receive for a blank range...
Illegal value for range_ip 1, second address. Non-routable IP addresses are not allowed.
I went down from multiple to single and it left some weird ass field after the first ip range. I guess thats it.
Its a label for something I guess. So maybe thats not the issue.
Comment #3
firebus commentedi'll do some more testing in the next week and see if i can reproduce.
can you tell me what version of cck you're using (i doubt that's the issue, but i have discovered some version specific cck issues in the past...)
Comment #4
sgriffin commentedI downloaded the updated cck ip module just in case, and the new cck. It seems good. No issues.
Comment #5
firebus commentedComment #6
firebus commented