I have been working on generating my own online catalogs for use with Stanza. While doing so I have come across a bug that can cause Stanza iPhone 1.7 to crash back to the iPhone desktop. Although this error would occur rarely in practise I think you would want to handle it tidily to improve application stability (it took me a while to track down what was happening!).
The problem can occur when a catalog has been divided up so that after a number of entries one gets a "List More Entries" one right at the bottom. From the Developers perspective this is what happens when a <LINK rel="new" > type tag has been included in the catalog. Pressing this entry causes Stanza to go back to the server to get more catalog entries. I found that if at this stage if Stanza gets an error such as "401 - Not Found" returned by the server it will crash back to the desktop. I triggered this inadvertently by an error in my catalog generation script that resulted in an incorrect catalog name being requested. In the real world one would normally expect such requests to the server to succeed, but it is never good programming practise to assume that. Communication errors could cause the catalog to fail to be retrieved. My guess is that this is an error condition that has not been catered or tested for?
Thanks for letting us know
Thanks for letting us know about the problem. We'll have it fixed in the next version of Stanza.