https://issues.apache.org/bugzilla/show_bug.cgi?id=52067

--- Comment #2 from Maciej <maciej.szatkow...@gmail.com> ---
I think I pinned down this bug. Reason is new series are cloned into sheet
records one index too late.

Lines 1208~1209:
/* next index in the records list where the new series can be inserted */
idx = endSeriesRecordIdx + 1;

just change idx to:
idx = endSeriesRecordIdx;

Works for me. Unfortunately I am not able to provide test case covering this -
bug shows only after opening file in Excel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to