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

Unable to import exported big YAML file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.31
    • 6.2.27
    • None
    • None
    • Yes
    • Yes
    • Nucleus 32
    • 5

      Steps to reproduce

      1. click import in pages app
      2. upload yaml
      3. error occurs on save

      Expected results

      File should import correctly.

      Actual results

      Failure, combined with message in log:

      org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.

      Workaround

      Unknown. Potentially force Magnolia to use SnakeYML 1.31 to import the data then re-export as XML.

      Development notes

      It seems a 3Mb code point limit was established in the SnakeYML 1.32 library used in Magnolia. Magnolia currently uses version 1.33.

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              rkovarik Roman Kovařík
              ahutchison Antony Hutchison
              Thomas Duffey
              Nucleus
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

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