Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugged time in response block the fetch #106

Open
ylecuyer opened this issue Aug 7, 2019 · 0 comments
Open

Bugged time in response block the fetch #106

ylecuyer opened this issue Aug 7, 2019 · 0 comments

Comments

@ylecuyer
Copy link
Owner

ylecuyer commented Aug 7, 2019

Hi,

We had an occurence where the response has a bugged datetime :


  "result_ok": true,
  "data": {
    "id": "27726",
    "contact_id": "",
    "status": "Deleted",
    "is_test_data": "0",
    "date_submitted": "0000-00-00 00:00:00",
...

In this case, the middleware parser tries to parse this date but fails because it is invalid.
The gem should return nil when this happens (for every possible datetime attributes)

For the moment, we marked the response as deleted so that we can filter it out from the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant