Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Fixing problem that time "00:00:00" is passed #32

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

phorward
Copy link
Member

This is the case when serializeForPost() is called with an empty date and with time=False, but a time is returned?

This is the case when serializeForPost() is called with an empty date and with time=False, but a time is returned?
@phorward phorward added bug Something isn't working v2.4 labels Apr 15, 2019
@phorward phorward added this to the v2.4.0 milestone Apr 15, 2019
@skoegl skoegl self-requested a review April 15, 2019 14:12
phorward added a commit to viur-framework/server that referenced this pull request Apr 15, 2019
Setting a date back to empty is not possible using fromClient right now: Empty string is converted to None, and None is not allowed by super-call to baseBone.isInvalid() as valid value. So this might fix the problem and integrates with [#32](viur-framework/viur-vi#32) in vi.
Copy link
Member

@sveneberth sveneberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the changes to the CHANGELOG

@phorward phorward merged commit ccad1e8 into develop Apr 17, 2019
@phorward phorward deleted the bugfix/dateBone.serializeForPost branch April 24, 2019 12:43
skoegl pushed a commit to viur-framework/server that referenced this pull request Apr 26, 2019
Setting a date back to empty is not possible using fromClient right now: Empty string is converted to None, and None is not allowed by super-call to baseBone.isInvalid() as valid value. So this might fix the problem and integrates with [#32](viur-framework/viur-vi#32) in vi.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working v2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants