https://issues.apache.org/bugzilla/show_bug.cgi?id=54920
Bug ID: 54920
Summary: XSSFDrawing.createCellComment causes CommentsTable to
lose reference to comment in cell A1
Product: POI
Version: 3.9
Hardware: PC
OS: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 30250
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30250&action=edit
Unit Test
XSSFDrawing.createCellComment calls CommentsTable.newComment, which creates a
temporary "A1" cell reference, and then updates the cell reference with the
proper row and column. But that temporary "A1" is placed in the commentRefs
map, and can overwrite a legitimate comment in "A1".
I've attached a unit test that shows the issue. There are a pair of 'NOTES' in
the source that show the required steps to reproduce.
--
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]