You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number of check-ins that appear under Scheduled tabs should be an accurate presentation of actual check-ins that are scheduled to go out.
Actual Behaviour
A large number of check-ins are created under the Scheduled tabs. The check-ins appear to be duplicated.
Steps to Reproduce
Create a check-in scheduled to go out hourly starting now.
Note that time on date/time picker are on GMT.
Send out the Check-In with these details.
Note that:
Check-ins are backtracked i.e they are sent for times that they should have been sent but are past e.g checkins created to start three hours ago will have one sent out for each hour to the currrent hour.
A large number of check-ins are created/scheduled under the Scheduled tab.
As these check-ins are sent out by the hour, under the Sent tab, the number of check-ins is one for each hour, as expected.
####Additional Info
Screenshot of 170 instances of a check-in where only 20 were expected.
The 170 checkins count is incorrect. 170 checkins are not being created if we believe the API (which I guess we should )
running GET https://api.dev.tenfour.org/api/v1/organizations/10/checkins/?limit=5000&offset=0
Results in 52 checkins, in these groups
( while my test is in dev, Walter confirms this happened to him in staging and dev, so it should still be the same) Jumping on a call now to debug with him
ok so met with Walter, the problem is not that we create 100s of checkins, it's that the limit and offset are kind of broken.
If you request an offset of 9000 with a limit of 5, you'll get the same result as if you request offset 100 and limit 5. The frontend cannot detect the end because the offset isn't working, therefore it keeps adding the same checkins over and over to the screen .
Fixing today
Expected Behaviour
Number of check-ins that appear under Scheduled tabs should be an accurate presentation of actual check-ins that are scheduled to go out.
Actual Behaviour
A large number of check-ins are created under the Scheduled tabs. The check-ins appear to be duplicated.
Steps to Reproduce
####Additional Info
Screenshot of 170 instances of a check-in where only 20 were expected.
Environment
The text was updated successfully, but these errors were encountered: