Skip Menu |

This queue is for tickets about the RT-Extension-MergeUsers CPAN distribution.

Report information
The Basics
Id: 60779
Status: resolved
Priority: 0/
Queue: RT-Extension-MergeUsers

People
Owner: Nobody in particular
Requestors: bartelt [...] slac.stanford.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: John Bartelt <bartelt [...] slac.stanford.edu>
Subject: error when creating new users from MergeUsers.pm
Date: Thu, 26 Aug 2010 15:54:32 -0700 (PDT)
To: bug-RT-Extension-MergeUsers [...] rt.cpan.org
From: John Bartelt <bartelt [...] slac.stanford.edu>
Hello. I am in the process of updating RT from 3.6.9 (with MergeUsers 0.02) to RT 3.8.8 with MergeUsers 3.8.8. Now that I have MergeUsers installed, I get an error message every time I create a new user via the web: Can't call method "id" on unblessed reference at /opt/rt38/local/plugins/RT-Extension-MergeUsers/lib/RT/Extension/MergeUsers.pm line 144, line 1662. I'm using perl 5.8.8 on RHEL 5.5. Is this caused be something in my config? thanks, John +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= John Bartelt bartelt@SLAC.Stanford.edu SLAC National Accelerator Laboratory 650-926-4591 MS 97 2575 Sand Hill Road Menlo Park, CA 94025 office: SCCS room 331
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 12:32:59 -0400
To: "bartelt [...] slac.stanford.edu via RT" <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: Kevin Falcone <cpan [...] jibsheet.com>
On Thu, Aug 26, 2010 at 06:54:41PM -0400, bartelt@slac.stanford.edu via RT wrote: Show quoted text
> Hello. I am in the process of updating RT from 3.6.9 (with > MergeUsers 0.02) to RT 3.8.8 with MergeUsers 3.8.8. Now that
There is no 3.8.8 version of the module, are you running 0.04_01? Show quoted text
> I have MergeUsers installed, I get an error message every time > I create a new user via the web: > > Can't call method "id" on unblessed reference at > /opt/rt38/local/plugins/RT-Extension-MergeUsers/lib/RT/Extension/MergeUsers.pm > line 144, line 1662.
Without a stacktrace, it is hard to see what is going on. That error means someone has passed an invalid user -kevin
CC: John Bartelt <bartelt [...] slac.stanford.edu>
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 09:46:47 -0700 (PDT)
To: Kevin Falcone via RT <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: John Bartelt <bartelt [...] slac.stanford.edu>
On Fri, 27 Aug 2010, Kevin Falcone via RT wrote: Show quoted text
> There is no 3.8.8 version of the module, are you running 0.04_01?
Sorry, I meant the 0.03 version. I didn't try 0.04_01 since it is labeled 'developer release'. Show quoted text
>> Can't call method "id" on unblessed reference at >> /opt/rt38/local/plugins/RT-Extension-MergeUsers/lib/RT/Extension/MergeUsers.pm >> line 144, line 1662.
> > Without a stacktrace, it is hard to see what is going on. That error > means someone has passed an invalid user
There's nothing in the RT log or apache log about it (I have logging set to debug). Just that message in the window that shows the user was successfully created. Unless you have some other suggestions, I'll try sticking in some more debugging lines. thanks, John +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= John Bartelt bartelt@SLAC.Stanford.edu SLAC National Accelerator Laboratory 650-926-4591 MS 97 2575 Sand Hill Road Menlo Park, CA 94025 office: SCCS room 331
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 12:54:32 -0400
To: "bartelt [...] slac.stanford.edu via RT" <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: Kevin Falcone <kevin [...] jibsheet.com>
On Fri, Aug 27, 2010 at 12:46:58PM -0400, bartelt@slac.stanford.edu via RT wrote: Show quoted text
> Queue: RT-Extension-MergeUsers > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60779 > > > On Fri, 27 Aug 2010, Kevin Falcone via RT wrote: >
> > There is no 3.8.8 version of the module, are you running 0.04_01?
> > Sorry, I meant the 0.03 version. I didn't try 0.04_01 since it > is labeled 'developer release'.
You should really try it Show quoted text
> >> Can't call method "id" on unblessed reference at > >> /opt/rt38/local/plugins/RT-Extension-MergeUsers/lib/RT/Extension/MergeUsers.pm > >> line 144, line 1662.
> > > > Without a stacktrace, it is hard to see what is going on. That error > > means someone has passed an invalid user
> > There's nothing in the RT log or apache log about it (I have logging > set to debug). Just that message in the window that shows the user > was successfully created. > > Unless you have some other suggestions, I'll try sticking in > some more debugging lines.
You likely want to turn on DevelMode, which will give you a better Mason error -kevin
CC: John Bartelt <bartelt [...] slac.stanford.edu>
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 13:43:27 -0700 (PDT)
To: Kevin Falcone via RT <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: John Bartelt <bartelt [...] slac.stanford.edu>

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 13:44:40 -0700 (PDT)
To: Kevin Falcone via RT <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: John Bartelt <bartelt [...] slac.stanford.edu>
By the way, I get the error when modifying an existing user (as in previous example), as well as creating a new one. John
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 16:47:56 -0400
To: "bartelt [...] slac.stanford.edu via RT" <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: Kevin Falcone <kevin [...] jibsheet.com>
On Fri, Aug 27, 2010 at 04:43:43PM -0400, bartelt@slac.stanford.edu via RT wrote: Show quoted text
> Queue: RT-Extension-MergeUsers > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60779 > > > On Fri, 27 Aug 2010, Kevin Falcone via RT wrote:
> > You likely want to turn on DevelMode, which will give you a better > > Mason error
> > I updated to MergeUsers 0.04_1; no change. I turned on DevelMode > and got the trace below. Anything useful?
Show quoted text
> /opt/rt38/local/html/Callbacks/MergeUsers/Admin/Users/Modify.html/LeftColumnBottom
What is this? All of the relevant code for this plugin would be in /opt/rt38/local/plugins/RT-Extension-MergeUsers -kevin
CC: John Bartelt <bartelt [...] slac.stanford.edu>
Subject: Re: [rt.cpan.org #60779] error when creating new users from MergeUsers.pm
Date: Fri, 27 Aug 2010 14:08:16 -0700 (PDT)
To: Kevin Falcone via RT <bug-RT-Extension-MergeUsers [...] rt.cpan.org>
From: John Bartelt <bartelt [...] slac.stanford.edu>
On Fri, 27 Aug 2010, Kevin Falcone via RT wrote: Show quoted text
>> /opt/rt38/local/html/Callbacks/MergeUsers/Admin/Users/Modify.html/LeftColumnBottom
> > What is this?
That was the problem. I had copied over our callbacks from the old installation to the new; didn't realize I had one in there for MergeUser 0.02. thanks, John