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

XML Exports open directly in browser instead of offering download

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.6.6, 5.7
    • 5.6.5
    • None
    • None
    • Yes
    • Basel 147
    • 2

      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.

       

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD