Bug 152290 - Content control with hyperlink coming from glossary document imports wrong
Summary: Content control with hyperlink coming from glossary document imports wrong
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.2 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, implementationError
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2022-11-29 09:50 UTC by Mike Kaganski
Modified: 2023-12-27 19:20 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-11-29 09:50:18 UTC
Open attachment 183881 [details] from bug 152289

Before 7.3, it discarded the content controls, and contained the expected text

  EMAIL:
  someone@example.com

After commit b5c616d10bff3213840d4893d13b4493de71fa56, the text is correctly put into the content controls, but the text in the controls is now

  EMAIL:
  someone@example.comHYPERLINK "mailto:emailgoeshere@example.com"
Comment 1 Dieter 2022-12-13 07:42:56 UTC
I confirm it with

Version: 7.5.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded

Vasily, can you have a look at it?
Comment 2 Gabor Kelemen (allotropia) 2023-12-27 19:20:13 UTC
The second controls content is again the expected
 
someone@example.com

and even clickable since

https://git.libreoffice.org/core/+/5082d50d24c3fec4487c724a15eb0d54a82ecd0d

author	Jaume Pujantell <jaume.pujantell@collabora.com>	Wed Sep 13 08:58:21 2023 +0200
committer	Jaume Pujantell <jaume.pujantell@collabora.com>	Wed Oct 11 15:19:58 2023 +0200

writerfilter: use content controls for text in block SDTs