[rt-users] Can't call method "HasRight"

Jeff Blaine jblaine at kickflop.net
Tue Jul 12 18:09:14 EDT 2011



On 7/12/2011 6:06 PM, Kevin Falcone wrote:
> On Tue, Jul 12, 2011 at 02:47:26PM -0400, Jeff Blaine wrote:
>> Hi,
>>
>> I've hit the following snag, with more info futher down.
>> If anyone has any ideas, I'd love to hear them!
>>
>> 'Everyone' has 'CreateTicket' rights.
>>
>> First the error:
>> =============================================================
>> [root at rtdev1 log]# /apps/rt/bin/rt-mailgate --debug --queue
>> incidentreports --action correspond --url http://rtdev1.our.org
>> From: jblaine at our.org
>> Subject: testing mailgate
>> To: incident-reports at rtdev1.our.org
>>
>> FOO<CTRL-D>
>> /apps/rt/bin/rt-mailgate: temp file is '/tmp/j8KbkElkcm'
>> /apps/rt/bin/rt-mailgate: connecting to
>> http://rtdev1.our.org/REST/1.0/NoAuth/mail-gateway
>> Can't call method "HasRight" on an undefined value at
>> /apps/rt/bin/../lib/RT/User_Overlay.pm line 1277.
>> =============================================================
>
> Without an RT version, that error message can't be used to figure out
> what happened.
>
> I suspect you've broken some of your other tables in the migration if
> memberships aren't showing up properly
>
> -kevin

3.8.7 with the security patches

I suspect that as well, but it took me ~3 hours to
get this far and I'm trying to get past it somehow
instead of trying to figure out a completely different
plan of attack and starting over :(

>> Background and other info:
>>
>> This is a development box with the goal of duplicating
>> the production box.
>>
>> I dumped the majority of tables from the production box
>> and loaded them on this development box.  I left out
>> 'sessions', 'tickets', 'links', 'attachments', 'transactions',
>> and 'templates'
>>
>> On this box, after the "migration", Configuration -->  Users
>> shows "root" and not the other ~40 users that the production
>> server shows.  Looking in the public.users, they are present,
>> so I can't figure that out...
>>
>> So far, this is the only thing that appears flawed in
>> the "migration" -- the website is up, I can see the
>> queues in the UI.
>>
>> --------
>> 2011 Training: http://bestpractical.com/services/training.html
>>
>>
>>
>> --------
>> 2011 Training: http://bestpractical.com/services/training.html



More information about the rt-users mailing list