Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-1261

PortalSiteManager export feature is broken since upgrade to Wicket 1.4.17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • Admin Portlets
    • None

    Description

      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).

      Attachments

        Activity

          People

            ate Ate Douma
            ate Ate Douma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: