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

XML Exports open directly in browser instead of offering download

    XMLWordPrintable

Details

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

    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.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD