Re: writing extensions for an old version
Vinicius Fagundes <[email protected]> Tue, 14 Feb 2017 13:40:25 -0200
| Newsgroups | gmane.comp.bug-tracking.request-tracker.user |
|---|---|
| Message-ID | <CACSXJWFdEtmi58G0rPPAm_4tsFqbzp+fzpVrUZ8FRsuU9fvwmA@mail.gmail.com> |
--001a1144f1083847df05487f63af
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
I have found. For anyone else who may have the same problem, to create a
extension for any deprecated version (RT <4.0)
it's necessary allow deprecated RT:
RTx ('RT-Extension-Example', {deprecated_rt=3D>1});
More About:
http://search.cpan.org/~alexmv/Module-Install-RTx-0.38/lib/Module/Install/R=
Tx.pm
Vin=C3=ADcius *Fagundes*
2017-02-14 11:36 GMT-02:00 Vinicius Fagundes <[email protected]>:
> Hello,
>
> I tried this but the error remaining the same.
>
> requires_rt '3.8.8';
>
> Or
>
> requires (RT=3D>'3.8.8');
>
> Is there any other place that I also need to update?
>
> About the upgrade we working to do that soon.
>
> Thanks,
>
> Vinicius Fagundes
>
> Em 13 de fev de 2017 15:18, "Martin Wheldon" <
> [email protected]> escreveu:
>
> Hi,
>
> If you look in the Makefile.PL you will find somethink like this
>
> requires_rt '4.0.0';
>
> modify as required.
>
> Can I suggest that you upgrade as v3.8 reached end of life in 2014.
>
> Best Regards
>
> Martin
>
>
> On 2017-02-13 17:02, Vinicius Fagundes wrote:
>
>> Hi,
>>
>> I'm starting to learn RT development. And I was designated to create a
>> RT extension, but our RT version is too old (3.8). I couldn't find any
>> documentation about how to do it for this version.
>>
>> I tried follow the current documentation but when I tried to run:
>>
>> perl Makefile.PL
>>
>> I got this error:
>>
>> **** Error: This extension requires RT 4.0.0. Your installed version
>> of RT (3.8.8) is too old.
>>
>> Is it possible write and run a Extension for this version? If so, how
>> can I achieve that.
>>
>> Vin=C3=ADcius _Fagundes_
>>
>
--001a1144f1083847df05487f63af
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>I have found. For anyone else who may have the same p=
roblem, to create a extension for any deprecated version (RT <4.0)<br></=
div><div>it's necessary allow deprecated RT:<br></div><div><pre style=
=3D"background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"de=
javu sans mono"">RTx ('RT-Extension-Example', {deprecated_rt=
=3D>1});<br></pre>More About: <a href=3D"http://search.cpan.org/~alexmv/=
Module-Install-RTx-0.38/lib/Module/Install/RTx.pm">http://search.cpan.org/~=
alexmv/Module-Install-RTx-0.38/lib/Module/Install/RTx.pm</a><br></div><div>=
<br><br></div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div =
class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"lt=
r"><div style=3D"text-align:center"><div style=3D"text-align:left"><font fa=
ce=3D"'comic sans ms', sans-serif" size=3D"2">Vin=C3=ADcius <i>Fagu=
ndes</i></font></div></div><div style=3D"text-align:center"><br></div><div =
style=3D"text-align:center"><br></div><div style=3D"text-align:center"><br>=
</div><div style=3D"text-align:center"><br></div></div></div></div>
<br><div class=3D"gmail_quote">2017-02-14 11:36 GMT-02:00 Vinicius Fagundes=
<span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>></span>:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div dir=3D"ltr"><div><div>Hello,</div><div><div class=3D"h5"><div dir=3D"a=
uto"><br></div><div dir=3D"auto">I tried this but the error remaining the s=
ame.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto"><span style=
=3D"font-family:sans-serif">requires_rt '3.8.8';</span><br></div><d=
iv dir=3D"auto"><br></div><div dir=3D"auto">Or</div><div dir=3D"auto"><br><=
/div><div dir=3D"auto">requires (RT=3D>'3.8.8');</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">Is there any other place that I also =
need to update?</div><div dir=3D"auto"><br></div><div dir=3D"auto">About th=
e upgrade we working to do that soon.=C2=A0</div><div dir=3D"auto"><br></di=
v><div dir=3D"auto">Thanks,</div><div dir=3D"auto"><br></div>Vinicius Fagun=
des <br><br></div></div></div><div><div class=3D"h5"><div><div class=3D"gma=
il_quote">Em 13 de fev de 2017 15:18, "Martin Wheldon" <<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">martin.wh=
eldon@greenhills-it.<wbr>co.uk</a>> escreveu:</div><div dir=3D"auto" cla=
ss=3D"gmail_quote"><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-lef=
t:1px solid rgb(204,204,204);padding-left:1ex" class=3D"m_-6632572653105571=
634gmail-m_3186958975281348288quote">Hi,<br>
<br>
If you look in the Makefile.PL you will find somethink like this<br>
<br>
requires_rt '4.0.0';<br>
<br>
modify as required.<br>
<br>
Can I suggest that you upgrade as v3.8 reached end of life in 2014.<br>
<br>
Best Regards<br>
<br>
Martin<div class=3D"m_-6632572653105571634gmail-m_3186958975281348288elided=
-text"><br>
<br>
On 2017-02-13 17:02, Vinicius Fagundes wrote:<br>
</div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex" class=3D"gmail_quote"><div class=3D"m_-66=
32572653105571634gmail-m_3186958975281348288elided-text">
Hi,<br>
<br>
I'm starting to learn RT development. And I was designated to create a<=
br>
RT extension, but our RT version is too old (3.8). I couldn't find any<=
br>
documentation about how to do it for this version.<br>
<br>
I tried follow the current documentation but when I tried to run:<br>
<br>
perl Makefile.PL<br>
<br>
I got this error:<br>
<br>
**** Error: This extension requires RT 4.0.0. Your installed version<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 of RT (3.8.8) is too old.<br>
<br>
Is it possible write and run a Extension for this version? If so, how<br>
can I achieve that.<br>
<br></div>
Vin=C3=ADcius _Fagundes_<br>
</blockquote>
</blockquote></div></div></div></div></div>
</blockquote></div><br></div>
--001a1144f1083847df05487f63af--