https://bz.apache.org/bugzilla/show_bug.cgi?id=59814

            Bug ID: 59814
           Summary: WorkbookEvaluator.clearAllCachedResultValues() needs
                    to propagate the action to EvaluationWorkbook and
                    EvaluationSheet instances
           Product: POI
           Version: 3.15-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

Now that I've added more cached values to support Structured Reference syntax
and performance improvements, I see that this method needs augmentation to
clear the new caches down at the workbook and sheet level.

XSSFEvaluationWorkbook has _sheetCache, which needs to be set to null
BaseXSSFEvaluationWorkbook has _tableCache, which needs to be set to null
XSSFEvaluationSheet has _cellCache, which needs to be set to null

I'll work on a patch tomorrow, with some tests.  I have some other temp changes
to strip out, though, to make current trunk work with another project that
doesn't like some of the 3.15 API changes yet.

Motivation for this change is that in that library (Vaadin Spreadsheet) there
isn't a way currently to reset the formula evaluator in use, so I need to make
sure clear really clears state.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to