Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3742

Backport ExportAction from 5.4.x to 5.3.x

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.3.13
    • None
    • None
    • None
    • Kromeriz 26
    • 1

      The reason is that the old ExportAction is setting Content-Disposition incorrectly (which causes opening of JCR exports in browser window).

      Even though this code is there:

              resource.getStream().setParameter("Content-Disposition", "attachment; filename=...");
              Page.getCurrent().open(resource, "", true);
      

      The Content-Disposition header is set just to filename=... (without attachment;). (Probably a Vaadin issue - see https://vaadin.com/forum#!/thread/85013).

      The JCR exports were disposed only because of (wrong) MIMEType application/octet-stream. After this was changed to application/xml, it behaves differently.

        Acceptance criteria

              rsiska Robert Šiška
              rsiska Robert Šiška
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.5h
                    0.5h