Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7310

XML Exports open directly in browser instead of offering download

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.5
    • Fix Version/s: 5.6.6, 5.7
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes
    • Sprint:
      Basel 147
    • Story Points:
      2
    • Magnolia Release:
      5.6.7, 5.7

      Description

      When you click the Export button in a content app or from the JCR tools app, the XML opens directly in the browser, replacing the admincentral - instead of downloading the file.

      We were previously using Vaadin's default behavior to create a content-deposition header with proper encoding, but it does not add the "attachment" key word so the browser tries to open it instead of downloading it. We must actually manually set this header instead of using Vaadin's code in order to add the "attachment" keyword to the header and force the browser to download the file.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lstaniorski Leah Staniorski
                Reporter:
                czimmermann Christopher Zimmermann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: