[rt-users] [Rt-devel] ticket creation from web interface fails undefined ParseAddressFromHeader

Ruslan Zakirov ruslan.zakirov at gmail.com
Tue Sep 1 09:05:06 EDT 2009


The following lines instead of lines 272-273 will probably fix issue.

    my ( $Address, $Name ) =
        RT::Interface::Email::ParseAddressFromHeader($email);

This is old overlay for LDAP integration these days with RT 3.8 you
probably should use RT-Extension-ExternalAuth.

On Tue, Sep 1, 2009 at 4:02 PM, Jac Gubbels<jhj.gubbels at gmail.com> wrote:
> Man you're great. I do not intend to have you figure out something
> stupid that I should be able to find myself though. If so, just give
> me a pointer and I'll dive back in myself. Need to learn this stuff
> anyway. Otherwise, great if you can provide a patch of course (bid odd
> though that that's necessary given the fact that to the best of my
> knowledge I followed upgrade instructions carefully!?)
> Cheers -- Jac
>
>
>
> On Tue, Sep 1, 2009 at 2:46 PM, Ruslan Zakirov<ruslan.zakirov at gmail.com> wrote:
>> Jac, If you show me that User_Local.pm then probably I can help with a patch.
>>
>> On Tue, Sep 1, 2009 at 3:44 PM, Jac Gubbels<jhj.gubbels at gmail.com> wrote:
>>> I can see the file and the function in it, but do not understand what
>>> causes the error. Is there a path problem somehow caused by the
>>> update? Forgive me my ignorance but I do not know very much about
>>> perl. Appreciate your help very much though!
>>> -- Jac
>>>
>>>
>>>
>>> On Tue, Sep 1, 2009 at 1:44 PM, Ruslan Zakirov<ruslan.zakirov at gmail.com> wrote:
>>>> This function probably is in RT/Interface/Email.pm.
>>>>
>>>> On Tue, Sep 1, 2009 at 9:16 AM, Jac Gubbels<jhj.gubbels at gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> Because I did not get an answer on the user mailing list and have a
>>>>> suspicion my problem is not a configuration issue but has to do with
>>>>> me making a mistake during update, I am trying my luck here.
>>>>>
>>>>> Upon creation of a ticket through the web interface I get the following error:
>>>>>
>>>>> Undefined subroutine &RT::EmailParser::ParseAddressFromHeader called
>>>>> at /opt/rt3/bin/../lib/RT/User_Local.pm line 272.
>>>>>
>>>>> My staff has reported this error recently, but it might be related to
>>>>> an update from 3.8.2 to 3.8.4 as that is the last change that was made
>>>>> to our installation. In the wiki and lists I could only find this
>>>>> error in relation to LDAP authentication. We are in fact
>>>>> authenticating using LDAP (AD). Here is our full setup
>>>>>
>>>>> Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.4 PHP/5.2.3-1ubuntu6.5
>>>>> mod_ssl/2.2.8 OpenSSL/0.9.8g  mod_perl/2.0.3 Perl/v5.8.8
>>>>>
>>>>> Any suggestions as on where to start looking for a fix to this problem?
>>>>>
>>>>> I can see the routine ParseAddressFromHeader does not exist in
>>>>> /opt/rt3/lib/RT/EmailParser.pm. I have installed all perl mail
>>>>> functionality I could find using CPAN.
>>>>>
>>>>> Sorry for duplicating this issue on two mail lists.
>>>>>
>>>>> Thanks a lot!
>>>>>
>>>>> -- Jac
>>>>> _______________________________________________
>>>>> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards, Ruslan.
>>>>
>>>
>>
>>
>>
>> --
>> Best regards, Ruslan.
>>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list