Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-424

import column arrays failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.6.1
    • 5.6.0
    • None
    • Security Level: Jimmy
    • None
    • None

      Steps to Reproduce

      1. load the attached file as a byte array
      or run keikai.test/io.keikai.model.ImporterTest.columnArrayOrder()

      Current Result

      Caused by: java.lang.IllegalStateException: Can't setup an overlapped column array 3,3 overlppaed io.keikai.model.impl.ColumnArrayImpl@676cac62[0-3]
      at io.keikai.model.impl.SheetImpl.setupColumnArray(SheetImpl.java:288)
      at io.keikai.importer.XlsxImporter.importColumn(XlsxImporter.java:1637)
      at io.keikai.importer.XlsxImporter.imports(XlsxImporter.java:292)

      Expected Result

      no error

      Debug Information

      1. zss 3.9.6 doesn't have this bug
      2. zss set column array from low column number e.g. 1, 2,3...
      But keikai set column array from high number e.g. 4-16383, 3-3
      This causes unexpected overlapping.
      3. It's better to comment about this column array set up order.

      workaround

      see branch keikai-424 and its pull request

            hawk hawk
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: