Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-409

Hang on Cell.setValidityList() if the ContentValidationElement is reused

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.2-incubating
    • simple api
    • None

    Description

      If Cell.setValidityList() tries to find a reusable ContentValidationElement, the thread hangs in an endless loop if more than one node childs exists.

      The following szenario reproduces the problem:

      • create new SpreadsheetDocument
      • append a new sheet
      • set same value list to first cell of two rows
      • set value list to a third row -> thread hangs

      Its a bug in Cell.getContentValidationEle(). The appended patches contain a test to reproduce it and the bugfix as well.

      Attachments

        Activity

          People

            svanteschubert Svante Schubert
            profhccaesar Raimund Hölle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: