aliking / shortyz

Automatically exported from code.google.com/p/shortyz
0 stars 0 forks source link

Crash when opening puzzle downloaded on WiFi hotspot with sign-in portal #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
(I haven't tested this, due to lack of a WiFi hotspot with a sign-in portal.)
1. Connect to a wireless router with a sign-in portal.  Do not sign in.
2. Attempt to download crossword puzzles for the current day.
3. Open the downloaded puzzle.

What is the expected output? What do you see instead?
The puzzle should open; or, the app should inform me that the puzzle is 
malformed and cannot be opened.

What version of the product are you using? On what operating system?
Verizon Spectrum running Quattrimus JellyBean ROM (4.1.x)

Please provide any additional information below.

The problem seems to be that the network call to get the puzzle file is 
redirected to the portal sign-in page.  I assume that, if the network call 
doesn't report failure, the application saves the "puzzle" to the device and 
adds an entry in the puzzle list, even though the puzzle is actually invalid.

I verified at least part of this by examining the puzzle file that was 
downloaded - it was an HTML document for the WiFi hotspot sign-in page rather 
than a well-formed puzzle.

I will attach a stack trace for the failure when I get a chance.

Original issue reported on code.google.com by dvorakvi...@gmail.com on 26 Dec 2012 at 1:17