Closed JoelProminic closed 3 years ago
While testing the disconnect scenario (to support "5b. If the install failed, delete the temporary installation and keep the old installation"), I see I'm in struggle to get an error callback from the using Apache archive-downloader util class where the using URLLoader failing to return a notification.
So far it's still failing, I'm trying to find out how to get a network error event out of it.
I think this issue is resolved, but we need to revisit and document the testing. I thought we had a test matrix for this already, but I don't see it.
@rat-moonshine Maybe it's worth to do not spend more time on it. In general we have now checking whether link is working and this should be enough. SDK won't be removed when user have some problems with downloading - that was the idea nd it's working fine as far as I know.
Yeah, I'm less hopeful to have any return in the current working's of the URLLoader API. I think I started working on some alternative way to determine a possible error, but I don't remember now where I left the idea.
We tested the current code for a failed connection to the download server, but we don't have way to detect or test other other problems with the download. We are planning to move this logic to Haxe anyway, so it is not worth spending more time on this for now.
I'm spliting this issue from #34. See: https://github.com/prominic/Moonshine-SDK-Installer/issues/34#issuecomment-780026984