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 2022/01/27 11:50:17 UTC
[Bug 65852] New: [PATCH] Column collapsed attribute is incorrectly set
https://bz.apache.org/bugzilla/show_bug.cgi?id=65852
Bug ID: 65852
Summary: [PATCH] Column collapsed attribute is incorrectly set
Product: POI
Version: 5.2.0-FINAL
Hardware: All
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: dev@poi.apache.org
Reporter: kildyushovamari@gmail.com
Target Milestone: ---
Created attachment 38176
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38176&action=edit
Diff file
When executing method Sheet.groupColumn() to an OOXML Excel document, the
"collapsed" attribute of any column in groups is always set with "true" value.
Example:
Sheet sheet = workbook.getSheetAt(sheetIndex);
sheet.setRowSumsBelow(false);
sheet.setRowSumsRight(false);
sheet.groupColumn(4, 10);
sheet.groupColumn(5, 7);
sheet.groupColumn(9, 10);
Result file is attached.
The error occurs in method setColumnAttributes of
org.apache.poi.xssf.usermodel.helpers.ColumnHelper. The existing line:
toCol.setCollapsed(fromCol.isSetCollapsed());
should be removed.
Diff file is attached.
This bug was reported earlier:
https://bz.apache.org/bugzilla/show_bug.cgi?id=60541
--
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 65852] [PATCH] Column collapsed attribute is incorrectly set
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65852
PJ Fanning <fa...@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
OS| |All
--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
why did you create a new issue? I'm going to close this as a duplicate
*** This bug has been marked as a duplicate of bug 60541 ***
--
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 65852] [PATCH] Column collapsed attribute is incorrectly set
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65852
--- Comment #1 from kildyushovamari@gmail.com ---
Created attachment 38177
--> https://bz.apache.org/bugzilla/attachment.cgi?id=38177&action=edit
Example result 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 65852] [PATCH] Column collapsed attribute is incorrectly set
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65852
--- Comment #4 from PJ Fanning <fa...@yahoo.com> ---
I'm afraid we lose context if we don't keep using the original issue - so
please put any further discussion on that issue - I may have time over coming
week to have a look at that.
--
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 65852] [PATCH] Column collapsed attribute is incorrectly set
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65852
--- Comment #3 from kildyushovamari@gmail.com ---
I created a new issue because the solution of old issue was cancelled by
commit:
https://github.com/apache/poi/commit/30a548a5143f39fc069385fe449a23783dd5844c
--
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