Closed (fixed)
Project:
Smart Date
Version:
3.1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2020 at 13:28 UTC
Updated:
19 Nov 2020 at 18:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mandclu commentedHmmm seems like I'll need more steps to reproduce:
What type of entity are you using?
Comment #3
mandclu commentedComment #4
heavystoneheadstandard field type with the widget works fine. (I couldn't reproduce)
"Smart date range" fieldtype with a given time also works fine. However, if you switch to custom and leave the end date free, this error occurs.
Comment #5
mandclu commentedI'm still not sure I understand. Is this on a custom entity? Could you provide detailed steps to reproduce?
Comment #6
heavystoneheadbasically the same steps as you, only with custom / user-defined
I hope the shape is okay
Comment #7
mandclu commentedIf you're using Smart Date as a base field on a custom entity, you may need to provide your own validation logic.
This patch should fix the specific error you're getting, but I'm not sure if it will ensure the field behaves as expected.
Comment #8
heavystoneheadthis confuses me a little and am not sure if i can follow them. I only use your field, nothing more. sorry if I don't understand something.
In any case, it works, I get the feedback I expected, thank you.
Comment #10
mandclu commentedThanks for the feedback, merged this in.