[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 --- Comment #4 from Kwon Ohyoung --- I have published github PR : https://github.com/apache/poi/pull/617 -- 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
[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 Kwon Ohyoung changed: What|Removed |Added CC||ohkwo...@outlook.com -- 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
[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 --- Comment #3 from Kwon Ohyoung --- To fundamentally solve this problem, I think we need to distinguish between internal file-based relationships and reference-based relationships like open-xml-sdk. feat: https://github.com/dotnet/Open-XML-SDK/blob/main/src/DocumentFormat.OpenXml.Framework/Packaging/PartRelationshipsFeature.cs If we do that, I think it will be a bigger task than a minor version up rather than just a single bug patch. If it were a simple patch at the single commit level, I thought about contributing, but it seems to be at the level of feature addition/change beyond multiple commits, so I think it is something that needs to be reviewed within the poi community. -- 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
[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 --- Comment #2 from Kwon Ohyoung --- This issue is due to hyperlinks connected to picture objects not being properly handled. The picture object and the hyperlink object are stored in drawing1.xml, and the picture file location to be displayed and hyperlink target information are stored in drawing1.xml.rels. ㅆhe correlation information stored in drawing1.xml.rels is processed based on the existence of the actual target file when copying from poi. However, the hyperlink target information does not have actual file information, so it is copied with the wrong target when copying. original relationship in /xl/drawings/_rels/drawing1.xml.rels: http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"/> copied relationship in /xl/drawings/_rels/drawing2.xml.rels: http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"/> When the PackageRelationship.getTargetURI() method returns, the URI is normalized to change it to the target file path. In this process, the fragment information (#Sheet3!A1) is lost and the file name (/xl/drawing1.xml) will remain. However, /xl/drawing1.xml is recognized as an invalid file because it cannot be a hyperlink target. -- 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
[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 Dominik Stadler changed: What|Removed |Added OS||All -- 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
[Bug 63189] Error when cloning sheet with a hyperlink
https://bz.apache.org/bugzilla/show_bug.cgi?id=63189 --- Comment #1 from Darya --- Created attachment 36444 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36444=edit Corrupted document -- 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