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

Import as yaml fails on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.3.0, 6.2.41
    • 6.2.39
    • None
    • None

    Description

      Steps to reproduce

      1. Go to demo and open Pages-app
      2. Create a page and export it (by default, it is a yaml file)
      3. Remove the page
      4. Try to import the page
      5. Check it fails with the message "An unsupported upload file type"

      Expected results

      The page can be imported

      Actual results

      The upload is aborted and the message "An unsupported upload file type" is displayed

      Workaround

      • comment out this line: import.yaml#6, (link into resources app)
      • (or) export it as XML

      Development notes

      When removing the allowedMimeTypePattern restriction from the dialog we found the upload to detect the file as application/octet-stream

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                asiska Adam Siska
                ccantalapiedra Carlos Cantalapiedra
                Nucleus
                Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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