Closed (fixed)
Project:
Driven API
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Apr 2010 at 15:52 UTC
Updated:
3 Jan 2014 at 01:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arhak commentedI will need more info
I can tell you this:
- it is related to a date field
- driven_cck is picking up a NULL $value and $default
why?!
you'll have to provide more details regarding your date fields configurations
plus, policies being applied to their respective driven properties
Comment #2
arhak commentedand please, next time copy and paste those error messages
Comment #3
arhak commentedmy fault, silly bug
not picking up null values, I completely forgot to provide the second argument, as clearly stated by the warning
(don't need more details)
Comment #4
arhak commentedComment #5
arhak commentedwhat configuration are you using?
a single date field or a from-to date?
I think that line 86 has another silly bug
Comment #6
arhak commentednew patch should address both (#3 and #5)
PS: be careful, it seems that date fields haven't been tested since alpha releases started, therefore, they might have more bugs introduced by refactors
Comment #7
gmclelland commentedThank you, that seems to fix the problem.
@#2 - no problem
Comment #8
gmclelland commentedwhat configuration are you using?
a single date field or a from-to date?
I think that line 86 has another silly bug
-It is a single Datetime text field with Date Pop-up calendar with Year/Month/Day granularity. I will test the other patch at @#6.
Comment #9
gmclelland commentedThe patch @#6 worked fine for me.
Comment #10
arhak commentedthe patch at #6 is the same than #4 plus a consideration required for single date (i.e. having "from" but no "to")
EDIT: without the extra fix at #6 date ranges (i.e. having from-to) are broken (the "to" date is mistakenly dropped)
Comment #12
arhak commentedcommited to HEAD
but feedback regarding potential regression for other configurations is still pending