You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/10/15 16:42:11 UTC
[Bug 62828] New: CellReference(Cell) ctor does not initialize
sheetName
https://bz.apache.org/bugzilla/show_bug.cgi?id=62828
Bug ID: 62828
Summary: CellReference(Cell) ctor does not initialize sheetName
Product: POI
Version: 4.0.0-FINAL
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: SS Common
Assignee: dev@poi.apache.org
Reporter: dmgauntt@uab.edu
Target Milestone: ---
Calling the constructor new CellReference(cell) does not initialize the sheet
name. When the unit test code below is run, the following is written to
System.out:
goodCellRef='Ctor test'!$A$1
badCellRef=A1
Unit test code follows:
private static void cellReferenceCtorTest(XSSFWorkbook workbook) {
final XSSFSheet sheet = workbook.createSheet("Ctor test");
final String sheetName = sheet.getSheetName();
final XSSFRow row = sheet.createRow(0);
final XSSFCell cell = row.createCell(0);
final CellReference goodCellRef = new CellReference(sheetName,
cell.getRowIndex(), cell.getColumnIndex(), true,
true);
final CellReference badCellRef = new CellReference(cell);
System.out.println(String.format("goodCellRef=%s",
goodCellRef.formatAsString()));
System.out.println(String.format("badCellRef=%s",
badCellRef.formatAsString()));
}
--
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
[Bug 62828] CellReference(Cell) ctor does not initialize sheetName
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62828
Dominik Stadler <do...@gmx.at> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |63509
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=63509
[Bug 63509] XSSFSheet.addIgnoredErrors(CellReference, IgnoredErrorType)
creates corrupt Excel file
--
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
[Bug 62828] CellReference(Cell) ctor does not initialize sheetName
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62828
gallon.fizik@gmail.com <ga...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from gallon.fizik@gmail.com <ga...@gmail.com> ---
Fixed via r1850210. Thanks to David Gauntt for the report.
--
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