[rt-users] Problems in templates in Rt 4.2.1

Jesse Griffin jesse at tummy.com
Fri Jan 3 12:16:25 EST 2014


>> Hi Alex,
>> while trying to apply the patch in
>>
>> https://github.com/bestpractical/rt/commit/8807f0d0.patch
>>
>> I get this:
>>
>> can't find file to patch at input line 26
>>
>> Looking at the patch file, I see it is trying to patch two files:
>>
>> /opt/rt4/lib/RT/Template.pm
>> /opt/rt4/t/mail/html-outgoing.t
>>
>> The second file is non-existent here. Actually, I don't have any
>> /opt/rt4/t directory nor any html-outgoing.t file under /opt/rt4.
>>
>> Can you help me?
>>
>> T.I.A.
>> Bye
>> Cris
> 
> Alex,
> I figured that I needed to apply the patch to the source tree, so I did 
> it successfully. Then I did a "make upgrade". All of this was done on a 
> test server.
> 
> After that, I compared the new tree in /opt/rt4 with a backup of the old 
> tree. Diff says only /opt/rt4/lib/RT/Template.pm is changed.
> 
> Is it safe to just copy the new Template.pm into our production server 
> and clear the mason cache? Will it suffice to fix the bug?
> 
> Thank you in advance
> Cris

I tried just making the changes in the Template.pm file and that did *not* work.
 Doing that caused fatal problems, resulting in 500 errors... unless I did
something wrong?

--
Thank you,
Jesse Griffin
tummy.com, ltd.



More information about the rt-users mailing list