-
Notifications
You must be signed in to change notification settings - Fork 71.7k
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
Unable to remove treatment #6014
Comments
yep, have same problem on atlas + new NS version (14.0.0) |
I have same problem on dexcom g5 from 7.08.2020, please fix it |
I have also noticed that careportal entries are not updated properly in NS 14. If you go to Heroku and do a "Restart all dynos", the careportal entries are updated correctly. Some observations of mine: -Entries at the current time are OK |
Ok cause know, working on a fix for the .4 release. |
The treatment deletions do trigger the update in treatments table within collections on Atlas. However they remain on the UI. |
@dicko72 Same with mLab. In a pinch, it's possible to do the "Restart all dynos" trick while we are waiting for the fix. |
I have a preliminary fix but it needs some more effort. I'll post a branch for testing soon |
#6056 should fix this - if you want to help test, you'll need to deploy branch cache_invalidation to your Heroku setup |
@sulkaharo Ok, I tried now, but unfortunately it did not seem to make a difference. I am still in mLab, should that make a difference? I could have made some error, but here is the branch I deployed (I made a copy of Master 13.0.1 and made a PR to your testing branch): This is what I tested: Add "Carb correction" with Careportal at 12:30 h Needed Restart all dynos to clear entry from NS |
Unfortunately, it didn't solve the problem, also ifttt and automagic buttons stopped working on this branch - I can't enter temp target and carbs |
@bjornoleh how are you removing the data? I double checked and edits that use the rest api work as expected (such as using the Treatments report). Direct data editing in Mongo is not supported, so if you're making changes to the data directly in the database, that won't work. Also is your 13.0.1 version a typo? This is for release 14, so merging to anything but latest 14 dev isn't going to work. |
@st8ass can you double check you're in the right branch and describe how you tested? If your ifft action doesn't work, double check you're sending the required created_at treatment date field that contains an ISO-8601 date |
@sulkaharo |
yes, I selected the cache_invalidation branch I removing the treatments using the edit function in NS, just like the screenshot at the top of the discussion |
Right, I found an issue with the treatment edit mode in the UI, fixing. @st8ass The body is missing a required filed -> try adding "created_at": {{OccurredAt}} to the JSON. |
Ok branch has support for the edit mode now. I removed the data validation from the API so IFTTT calls etc that send data with missing dates will work again. |
@sulkaharo Cool, it works for me, I tested entering, moving and deleting a Carb correction entry. |
@sulkaharo IFTTT buttons and removing treatment works correctly |
How do I get this branch to show up in Heroku? |
Done ) Sorry if I didn't explain it well, I'm not a developer |
Anyone with a NS site will already have a fork of NS in their Github
account. It is possible to delete the fork and make a new one to get access
to newly added branches, like the one we are testing now.
But there are other options. I have just found one way, and would be happy
to learn better ways of doing this.
I made a copy of one of the other branches, and named it cach_invalidation
(the name doesn't matter). Then I made a pull request from the original
branch in the NS repo.
Any better suggestions?
man. 21. sep. 2020, 23:14 skrev st8ass <notifications@github.com>:
… @st8ass <https://github.com/st8ass> can you double check you're in the
right branch and describe how you tested? If your ifft action doesn't work,
double check you're sending the required created_at treatment date field
that contains an ISO-8601 date
yes, I selected the cache_invalidation branch
[image: image]
<https://user-images.githubusercontent.com/36138923/93720014-0d48ee80-fb8f-11ea-8f5d-156f02371c5e.png>
I removing the treatments using the edit function in NS, just like the
screenshot at the top of the discussion
How do I get this branch to show up in Heroku?
1. Make a Fork of Nightscout/cgm-remote-monitor to your own repository.
2. Login to Heroku. Open deploy tab and connect Heroku to your Github
account.
3. Select the Nightscout repository, scroll down to Manual deploy and
select the cache_invalidation branch.
4. Click the Deploy Branch button and wait for the deployment to
complete
Done )
Sorry if I didn't explain it well, I'm not a developer
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6014 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEZWM32JL7JU5VH73B6XDLSG664BANCNFSM4RPCWVFA>
.
|
Issue looks like it's resolved in dev |
Yes dev now has the related fixes |
After migration to the Atlas and updating NS to 14.0.3 version, I can't remove treatment. I try to delete, but nothing happens
NS 14.0.3
Freestyle Libre 1/Miao-Miao
Chrome (version 85)
The text was updated successfully, but these errors were encountered: