[
https://issues.apache.org/jira/browse/TAP5-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam updated TAP5-1533:
-----------------------
Attachment: tap5-1533.txt
Here's a patch. Although I haven't tried to generate the false success
scenario, it works for ignoring download-based beforeunloads.
> File download breaks zone managers due to unload event
> ------------------------------------------------------
>
> Key: TAP5-1533
> URL: https://issues.apache.org/jira/browse/TAP5-1533
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.5
> Reporter: Joost Schouten
> Attachments: tap5-1533.txt
>
>
> When a file is downloaded the unload event does some cleanup which prevents
> subsequent AJAX responses to fail. The request and response work fine, just
> the javascript handeling of the returned JSON fails. Once the page is
> refreshed all works fine again.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira