<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>436071</bug_id>
          
          <creation_ts>2021-04-23 01:31:05 +0000</creation_ts>
          <short_desc>Relative URL field doesn&apos;t use correct base path</short_desc>
          <delta_ts>2021-04-26 01:27:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>tellico</product>
          <component>general</component>
          <version>3.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Robby Stephenson">robby</reporter>
          <assigned_to name="Robby Stephenson">robby</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/tellico/commit/ec9b8d45c4732af4da0205c6f6cb88c491aea3ff</cf_commitlink>
          <cf_versionfixedin>3.4.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2027085</commentid>
    <comment_count>0</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2021-04-23 01:31:05 +0000</bug_when>
    <thetext>SUMMARY
A Url field with relative=true doesn&apos;t open the correct path from the Entry View.
https://forum.kde.org/viewtopic.php?f=200&amp;t=170908</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2027807</commentid>
    <comment_count>1</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2021-04-26 01:27:42 +0000</bug_when>
    <thetext>Git commit ec9b8d45c4732af4da0205c6f6cb88c491aea3ff by Robby Stephenson.
Committed on 26/04/2021 at 00:29.
Pushed by rstephenson into branch &apos;3.4&apos;.

Ensure relative links are converted to absolute in Entry View.

Since the Entry View uses the XSL template file as the base to allow
relative media in the HTML export, relative links in the collection must
be converted to absolute in the view.

Add a new export option and check that in the XML export.
FIXED-IN: 3.4.1

M  +4    -0    ChangeLog
M  +2    -0    src/entryview.cpp
A  +20   -0    src/tests/data/relative-link.xml
M  +4    -2    src/tests/modstest.cpp
M  +32   -0    src/tests/tellicoreadtest.cpp
M  +1    -0    src/tests/tellicoreadtest.h
M  +10   -9    src/translators/exporter.h
M  +17   -4    src/translators/tellicoxmlexporter.cpp

https://invent.kde.org/office/tellico/commit/ec9b8d45c4732af4da0205c6f6cb88c491aea3ff</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>