<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Trouble Ticket System (TTS) config skips URL port]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">We are using zammad at port 3000 and when we try to integrate this instance with i-doit. Investigating deeply about this problem we see that in constructor of class isys_connector_ticketing_zammad at $this-&gt;m_rt_base_url initialization is missed the port and i-doit won't make request to the correct url.</p>
<p dir="auto">We propose two ways to solve it:</p>
<ul>
<li>Add port to rt base url:</li>
</ul>
<pre><code>    /**
     * Injects the used protocol and sets RT's base url.
     *
     * @param isys_protocol $p_protocol
     */
    public function __construct($p_protocol)
    {
        parent::__construct($p_protocol);


        $this-&gt;m_ticket_url_pattern = $this-&gt;m_protocol-&gt;get_base_url() . $this-&gt;m_ticket_url_pattern;
        $this-&gt;m_rt_base_url = $this-&gt;m_protocol-&gt;get_host() . ':' . $this-&gt;m_protocol-&gt;get_port() . $this-&gt;m_protocol-&gt;get_base_url();
        $this-&gt;m_protocol-&gt;attach_base_url($this-&gt;m_url_base);
    }
</code></pre>
<ul>
<li>Change get_host method of class isys_protocol_http to add port to all implementations with this error (like all other connectors of TTS):</li>
</ul>
<pre><code>    /**
     * Returns the Host without any information
     */
    public function get_host()
    {
        return $this-&gt;m_protocol . "://" . $this-&gt;m_host . ':' . $this-&gt;m_port;
    }
</code></pre>
]]></description><link>https://community.i-doit.com/topic/3576/trouble-ticket-system-tts-config-skips-url-port</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 14:44:18 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/3576.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Apr 2019 09:34:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble Ticket System (TTS) config skips URL port on Fri, 17 Apr 2020 08:55:06 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/bmsoft" aria-label="Profile: bmsoft">@<bdi>bmsoft</bdi></a><br />
thank you for the hint.<br />
If this will be included in further version you can find this in the change logs.</p>
<p dir="auto">Best<br />
Phil</p>
]]></description><link>https://community.i-doit.com/post/14464</link><guid isPermaLink="true">https://community.i-doit.com/post/14464</guid><dc:creator><![CDATA[Philipp Hörselmann]]></dc:creator><pubDate>Fri, 17 Apr 2020 08:55:06 GMT</pubDate></item></channel></rss>