https://bz.apache.org/bugzilla/show_bug.cgi?id=59740

            Bug ID: 59740
           Summary: [PATCH] Sheet.shiftRows incorrectly shifts merged
                    region on exists merged region
           Product: POI
           Version: 3.15-dev
          Hardware: All
                OS: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 33971
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33971&action=edit
tests and patch

After Bug 58443 was implemented, on row shifting it's possible to get next
error: "Cannot add merged region A1:F1 to sheet because it overlaps with an
existing merged region (A1:G1)".

Steps to reproduce:
1. Create merged region A1:G1 in row 0
2. Create merged region A1:F1 in row 1
3. Shift row 1 to 0 position.

I've fixed it by deleting overlapped by shifting merged regions. Tests are
provided. Please review and apply.

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

Reply via email to