Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
51 stars 30 forks source link

v3.9.1 release didn't fully update on check for updates (calendar fixes) #2161

Open dmplotner opened 4 years ago

dmplotner commented 4 years ago

Current version:3.9.1 Upgraded from:3.8.2? Issue on tablet and/or server: PWA

Expected behavior: Expected to see calendar fixes through "check for update"

Actual behavior: form updates pulled down to the browser, and build version reflected correctly but calendar items still did not function. Items didn't display, and the select for Day/week options in the right rendered no text in the option list

After uninstalling and reinstalling the app fresh, the same build version showed up in the about, and the calendar functioned as expected

Steps to reproduce the behavior:

Start with 3.8.2 build with test release PWA (using Sante DEV content, but shouldn't matter). Enter some cases, notably make sure to fill out a full screening form, and then proceed with form 7a. On 7a indicate that there is another visit scheduled before delivery, and also a delivery date. This should schedule the follow-up ANC visit as the next visit, and place both the follow-up and estimated delivery dates on the calendar. They do not appear on the calendar.

Next, update the server to 3.9.1. Do a new test release on the PWA, and then check for updates on the web app. It should pull down the update. Check the calendar again. Items still aren't appearing on the calendar.

Make sure to sync data.

Uninstall and reinstall the pwa. The calendar now shows the events correctly for the case just entered.

rjcorwin commented 4 years ago

@dmplotner Hi David. Thanks for the details. After the reinstall, does the data on the calendar come from syncing the data back down or does it come from generating new data on the tablet?

dmplotner commented 4 years ago

@rjsteinert - it shows up from the sync. the setting of the data seems fine, it was just related to showing up of the values on the calendar. New data shows up, old synced data now appears.

lachko commented 4 years ago

@rjsteinert I saw this in testing on the tablet yesterday but attributed it to the slow tablet. Data did show up at some point. Perhaps due to indexing and number of records. I had new data show up immediately. Only after a few minutes all data showed up. This happened for both Calendar (which was missing the week view and day view drop down values and actual data) and Case search screen