-
Bug
-
Resolution: Done
-
Minor
-
3.5.0
How to reproduce:
- Login in next 34 as student.
- Go to Course with SCORMS > Complex packages > Multiple organizations ...
- Open the SCORM and, once it's loaded, go to the next SCO using the top right arrow.
- Once the new SCO is loaded, leave the SCORM. The app will be reloaded.
I investigated this a bit and I think the reload isn't caused by the iframe. It also happened to me in a really simple SCORM, so I looked at the SCORM code and there wasn't any refresh in there. Then I added 'sandbox="allow-scripts"' to the iframe and it's still reloading, so I guess it's something related to Angular, Ionic or our code.
I debugged the code step by step using Chrome Dev Tools and I wasn't able to find out why is it being reloaded. I also added some console.log to the file node_modules/@angular/platform-browser/esm5/platform-browser.js, in some functions that could cause the reload, but none of them were called during this refresh.
This is the other case it happens:
- Login in next 34 as student.
- Go to Course with SCORMS > Simple packages > RuntimeBasicCalls SCORM12(1).
- Navigate to the last page, answer some question and click Submit Answers. After that, click Exit.
- Once done, leave the SCORM. The app will be reloaded.
- is a regression caused by
-
MOBILE-2350 Migrate SCORM
- Closed