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

import column arrays failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: