poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54920] New: XSSFDrawing.createCellComment causes CommentsTable to lose reference to comment in cell A1
Date Thu, 02 May 2013 16:56:59 GMT
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: dev@poi.apache.org
          Reporter: ericleecarroll@yahoo.com
    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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message