Hi, if I use Show Link in a Dynamic Field which contains a whole URL like https://example.com/whatever.html
The CustomerTicketZoom.tt renders it with the https://example.co[...] also in the href
so the HTML looks like
<span title="https://example.com/whatever.html"><a href="https://example.co[...]" class="DynamicFieldLink" target="_blank">https://example.co[...]</a></span>
It renders correct in the title with the [% Data.Title | html %] but shortened with [% Data.Link | Interpolate %] so I guess somwhere deeper those two values are switched anywhere.
It works correct in the Agent Zoom but not in the customer zoom.
Can somebody with some knowledge where these values are set please check this?
If needed, I can also report this to github, but I'm searching for a quick workaround.
As a dirty hack, I use [% Data.Title | html %] in the href and [% Data.Link | Interpolate %] in the title but this will break if the bug is fixed.
Found a bug - CustomerTicketZoom.tt Data.Link
-
- Administrator
- Posts: 3977
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Found a bug - CustomerTicketZoom.tt Data.Link
Hi momoaux,
Thank you for reporting, I can confirm this and create an issue.
- Roy
Thank you for reporting, I can confirm this and create an issue.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Administrator
- Posts: 3977
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Found a bug - CustomerTicketZoom.tt Data.Link
Hi momoaux,
This will be fixed in the upcoming release 6.0.39/6.2.2: https://github.com/znuny/Znuny/blob/rel ... CHANGES.md
- Roy
This will be fixed in the upcoming release 6.0.39/6.2.2: https://github.com/znuny/Znuny/blob/rel ... CHANGES.md
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?