https://bz.apache.org/bugzilla/show_bug.cgi?id=63902
Bug ID: 63902 Summary: Cloned chart has reference to field with original sheet. Problem with method Workbook.cloneSheet(int sheetNum) Product: POI Version: 4.1.1-FINAL Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: marcin.jendra...@gmail.com Target Milestone: --- Hi, I think I found a bug related with method Workbook.cloneSheet(int sheetNum). When I cloned original sheet(sheetA) with chart(chartA) in cloned sheet(sheetB) in chart(chartB) I have reference to original sheet(sheetA) but not to new(sheetB) . That doesn't works as expected and I think new chart(chartB) in the new sheet(sheetB) should have reference to fields from new(sheetB). I tried change references manual by CTNumRef.setF(String var1) and CTStrRef.setF(String var1) but when I did that I change reference also in original(chartA). That is only with cloned chart(chartB). I think they can be related with something together. Conclusion: I want to cloned chart(chartB) has reference to new cloned sheet (sheetB) not to original. Thx -- 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