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

Kevin Falcone falcone at bestpractical.com
Tue Jul 12 18:06:04 EDT 2011


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

> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110712/e0c14541/attachment.sig>


More information about the rt-users mailing list