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

ExportCommand should set proper mimeType for xml files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      Since MAGNOLIA-5672 the following code would be executed with autosave:

          @Test
          public void testAutosaveOnDownload() {
              driver.navigate().to("http://spatialkeydocs.s3.amazonaws.com/FL_insurance_sample.csv.zip");
          }
      

      The same thing did not work e.g for exporting an asset. As it turned out this is because MAGNOLIA-5672 enables autosave for certain mime types - e.g. "application/xml".

      As our ExportCommand sets mimeType "application/octet-stream" for xml files this didn't do the trick

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                dlipp Daniel Lipp
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD