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.3.0, 6.2.31
    • 6.2.27
    • None
    • None

      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

              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:

                  Bug DoR
                  Task DoD

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