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

Import as yaml fails on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.41
    • 6.2.39
    • None
    • None

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

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