-
Notifications
You must be signed in to change notification settings - Fork 34
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
Download JSON Dump returning blank #994
Comments
I believe @the-bay-kay is looking into this |
Yes! I've got a small change left to wrap up issue #979, but was looking into this this morning, and will keep digging shortly! |
Quick update on where I'm at debugging: I think the issue may be the call to
|
It seems that the Since I haven't been able to compare it to the date-data used by the other GET methods, I've been checking out the commit history. After looking at how the previous date picker was written, the one thing that stands out to me is the input format. The previous datepickerObject had I tried to revert to 13678e0 to check the old format of the data being passed, but ran into an issue with a cordova plugin loading. There's a real possibility I'm barking up the wrong tree, but I'd like to cross this off the list of possibilities. I'll try seeing if we can formated the DateDatePicker data in a similar way to the older version. (edit: DatePickerModal doesn't seem to format like the ion component!) |
I think I've got it! Thank you for pointing me in the right direction Abby, you were right - the issue was that I did have a question about the use of the luxon library. Jack and I discussed today how the moments library has shifted itself to being a 'legacy codebase', and he's mentioned before that we may want to think about switching entirely to luxon. This is probably a pretty low priority change, but should I go ahead an open an issue so that we at least have it on the docket? Or, since I'm already using it in the file, should I go ahead and update all of |
Can you start a draft PR so I can see how you got it working? There are actually 2 files called Making incremental tweaks to the |
Just wanted to give some post-mortem documentation on this issue!
|
Currently, the "download json dump" feature is not working. When the button is clicked and the file is emailed, the file is just an empty array. We need this feature to help with debugging and looking at timeline data.
This was recently re-factored to use React-Native-Paper's date picker to choose the date to download data. This could have been when the break occurs. The Date is chosen, then
ControlHelper.getMyData(date)
is called. One possible issue is that the date format is different than what theControlHelper
expects, but I will have to investigate further to know what is going on for sure.The text was updated successfully, but these errors were encountered: