poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60384] New: ShiftRows unexpected deletion of mergedRegions (due to 59740)
Date Wed, 16 Nov 2016 16:46:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60384

            Bug ID: 60384
           Summary: ShiftRows unexpected deletion of mergedRegions (due to
                    59740)
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: fabio.heer@dvbern.ch
  Target Milestone: ---

Created attachment 34455
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34455&action=edit
Template for use case

Due to https://bz.apache.org/bugzilla/show_bug.cgi?id=59740 merged regions are
disappearing even when no overlap was created.

Typical use case:
You have a template like attached with a merged region in row 9.
Row 3 is "template-row":
1. It either gets removed (no prameter)
2. Or it gets filled with just 1 parameter
3. Or it gets duplicated and filled for each parameter

Since I have to add or remove rows with sheet.shiftRows(3,
sheet.getLastRowNum(), n), the merged region in row 9 simply gets deleted.

Merged regions that do not create an overlap with another merged region should
not be deleted just like that. I expect the merged region to shift just like it
did in POI < 3.15

-- 
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