OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

offline-capable view issue on iOS/Safari #82

Open MartijnR opened 2 years ago

MartijnR commented 2 years ago

Describe the bug

@Apotischman writes:

We are experiencing something rather odd with iOS via iPads and Iphones using Safari. When we access an offline form, allow it to cache and then load another offline form on the same tab, it goes into an endless loop. It happens more often with embedded media than without. Will you take a look when you get a chance? This does happen with Android Chrome, and it doesn't happen with Public URLs either. Also, iOS is on the latest version, if that helps.

See email with links sent on 4/21/22 (subject "Good afternoon ..")

MartijnR commented 2 years ago

I retrieved 2 offline-capable Enketo URLs (with /x/ in the URL), and:

  1. opened one of these URLs in Safari on iPadOS
  2. pasted the second link in the same tab to open it

I have not been able to reproduce the issue.

it goes into an endless loop

@Apotischman do you mean the large orange form loading animation is shown indefinitely?

Apotischman commented 2 years ago

Yes. The loading animation is shown indefinitely. I can send you a video of it happening, if you'd like.

MartijnR commented 2 years ago

I can send you a video of it happening, if you'd like.

No, thanks. The next step would be to somewhat reliably reproduce it (on my iPad, so I can inspect using the developer console) but no luck so far.

MartijnR commented 2 years ago

I looked at the dev console screenshot sent on 5/5/22 by email (subject "RE: 555"). They do not point towards any specific cause.