PortalSiteManager export feature is broken since upgrade to Wicket 1.4.17
-------------------------------------------------------------------------
Key: JS2-1261
URL: https://issues.apache.org/jira/browse/JS2-1261
Project: Jetspeed 2
Issue Type: Bug
Components: Admin Portlets
Affects Versions: 2.2.1
Reporter: Ate Douma
Assignee: Ate Douma
Fix For: 2.2.2
Since the upgrade to Wicket 1.4.17 the PortalSiteManager export feature only
produces empty (zero size) download zip files.
This turns out to be caused by it now requiring explicit setting of the
download file length, or leave it at -1.
The current implementation, which still worked (and works!) with previous used
Wicket 1.4.15, uses default and hard coded file length 0, which since the
upgrade seems to be taken quite literal.
Fixing by determining the actual file length at runtime and returning that
(which potentially also improves performance, although in this case probably
negligible).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]