Bug 61589 - Importing content does not copy hyperlink address
Summary: Importing content does not copy hyperlink address
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: 3.17-FINAL
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-06 13:08 UTC by Yuriy Lozynskyy
Modified: 2018-08-12 22:35 UTC (History)
0 users



Attachments
Sample class to reproduce bug (1.02 KB, text/plain)
2017-10-06 13:08 UTC, Yuriy Lozynskyy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Lozynskyy 2017-10-06 13:08:53 UTC
Created attachment 35398 [details]
Sample class to reproduce bug

When importing content from another slide, hyperlink address does not get copied and resulting pptx file is broken. Problem is in org.apache.poi.xslf.usermodel.XSLFTextRun# copy(XSLFTextRun), this method does not take into account if text run contains hyperlink.
Comment 1 Andreas Beeker 2018-08-12 22:35:52 UTC
Thank you for your example. Fixed with r1837909