3.8.4 create user error

Hi There;

(Perl v5.8.8 under linux ,mod_perl2
v2.000003,Apache2,DBIx::SearchBuilder v1.56)

Started playing with 3.8.4 , fresh out of the box, new install , added
plugins :
RT-Extension-MergeUsers
RT-Extension-ServiceUpdates
RT-Extension-SLA
RTx-RightsMatrix

  • created first user, given it the super user permissions
  • logged in as this new user, trying to create another user I am getting
    the below error when click on Create (from the Tab in User/index.html
    and not the form).
  • the same happens if I try as root.

Anybody else seen this, I am guessing its one of the extensions that
caused it, but which one?

error: Can’t call method “Disabled” on an undefined value at
/opt/rt3/bin/…/lib/RT/User_Overlay.pm line 1165.
context:

1161: =cut
1162:
1163: sub Disabled {
1164: my $self = shift;
1165: return $self->PrincipalObj->Disabled(@_);
1166: }
1167:
1168: =head2 PrincipalObj
1169:

code stack: /opt/rt3/bin/…/lib/RT/User_Overlay.pm:1165
/opt/rt3/share/html/Admin/Users/Modify.html:385
/opt/rt3/share/html/Admin/autohandler:49
/opt/rt3/share/html/autohandler:311

Roy

Hi, All,

I have a quick question. I use RT and subversion and scmbug.
I have created several queues undr RT, also several projects under one repos in subversion.
My question is: how can I let the ticket owner can make changes to one projects in subversion?
for example, I have queueA, queueB, queueC, under subversion repos, I have projectA, projectB, projectC. User A have a ticket in queueA, then he can check in to projectA, userB has a ticket in queueB, then he can check in to projectB.

Thanks!

Ben

Hi There;

(Perl v5.8.8 under linux ,mod_perl2
v2.000003,Apache2,DBIx::SearchBuilder v1.56)

Started playing with 3.8.4 , fresh out of the box, new install , added
plugins :
RT-Extension-MergeUsers
RT-Extension-ServiceUpdates
RT-Extension-SLA
RTx-RightsMatrix

You don’t list version numbers, which means this is hard to diagnose
from your error. If you’re not running MergeUsers 0.03_02 I would
expect all kinds of problems interacting with 3.8

-kevin

Thanks Kevin it was indeed the wrong version of
RT-Extension-MergeUsers, installed 0.03_02 and it works fine.

Regards;
Roy

Kevin Falcone wrote:> On Tue, Sep 15, 2009 at 04:53:21PM +0100, Raed El-Hames wrote:

Hi There;

(Perl v5.8.8 under linux ,mod_perl2
v2.000003,Apache2,DBIx::SearchBuilder v1.56)

Started playing with 3.8.4 , fresh out of the box, new install , added
plugins :
RT-Extension-MergeUsers
RT-Extension-ServiceUpdates
RT-Extension-SLA
RTx-RightsMatrix

You don’t list version numbers, which means this is hard to diagnose
from your error. If you’re not running MergeUsers 0.03_02 I would
expect all kinds of problems interacting with 3.8

-kevin

  • created first user, given it the super user permissions
  • logged in as this new user, trying to create another user I am getting
    the below error when click on Create (from the Tab in User/index.html
    and not the form).
  • the same happens if I try as root.

Anybody else seen this, I am guessing its one of the extensions that
caused it, but which one?

error: Can’t call method “Disabled” on an undefined value at
/opt/rt3/bin/…/lib/RT/User_Overlay.pm line 1165.
context:

1161: =cut
1162:
1163: sub Disabled {
1164: my $self = shift;
1165: return $self->PrincipalObj->Disabled(@_);
1166: }
1167:
1168: =head2 PrincipalObj
1169:

code stack: /opt/rt3/bin/…/lib/RT/User_Overlay.pm:1165
/opt/rt3/share/html/Admin/Users/Modify.html:385
/opt/rt3/share/html/Admin/autohandler:49
/opt/rt3/share/html/autohandler:311

Roy


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Can any one help me on this?

Thanks,

Ben— On Tue, 9/15/09, Ben uyhis@yahoo.com wrote:

From: Ben uyhis@yahoo.com
Subject: RT and Subversion
To: “RT Users” rt-users@lists.bestpractical.com
Date: Tuesday, September 15, 2009, 11:27 AM

Hi, All,

I have a quick question. I use RT and subversion and scmbug.
I have created several queues undr RT, also several projects under one repos in subversion.
My question is: how can I let the ticket owner can make changes to one projects in subversion?
for example, I have queueA, queueB, queueC, under subversion repos, I have projectA, projectB, projectC. User A have a ticket in queueA, then he can check in to projectA, userB has a ticket in queueB, then he can check in to projectB.

Thanks!

Ben

I do this with subversion hooks that call the RT REST API and some custom
fields. The programmer puts “Ticket: 123” as the first line of the comment at
commit. The hooks validate the ticket data using REST API before allowing the
commit, and they also post information about the commit back to the ticket.

My hooks are written in ruby and use the rt-client library from rubyforge
(which I am the author of).

Ben wrote:

Can any one help me on this?

Thanks,

Ben

From: Ben <uyhis@yahoo.com>
Subject: RT and Subversion
To: "RT Users" <rt-users@lists.bestpractical.com>
Date: Tuesday, September 15, 2009, 11:27 AM

Hi, All,

I have a quick question. I use RT and subversion and scmbug.
I have created several queues undr RT, also several projects under
one repos in subversion.
My question is: how can I let the ticket owner can make changes to
one projects in subversion?
for example, I have queueA, queueB, queueC, under subversion repos,
I have projectA, projectB, projectC.  User A have a ticket in
queueA, then he can check in to projectA, userB has a ticket in
queueB, then he can check in to projectB.
 
Thanks!
 
Ben


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

thanks, Tom

I used scmbug to hook subversion with RT, is there a way to complete task with scmbug?

also Tom, does your way need a lot work to do?

Regards,

BenFrom: Tom Lahti toml@bitstatement.net
Subject: Re: [rt-users] RT and Subversion
To: “Ben” uyhis@yahoo.com
Cc: “RT Users” rt-users@lists.bestpractical.com
Date: Wednesday, September 16, 2009, 1:51 PM

I do this with subversion hooks that call the RT REST API and some custom
fields. The programmer puts “Ticket: 123” as the first line of the comment at
commit. The hooks validate the ticket data using REST API before allowing the
commit, and they also post information about the commit back to the ticket.

My hooks are written in ruby and use the rt-client library from rubyforge
(which I am the author of).

Ben wrote:

Can any one help me on this?

Thanks,

Ben

From: Ben <uyhis@yahoo.com>
Subject: RT and Subversion
To: "RT Users" <rt-users@lists.bestpractical.com>
Date: Tuesday, September 15, 2009, 11:27 AM

Hi, All,

I have a quick question. I use RT and subversion and scmbug.
I have created several queues undr RT, also several projects under
one repos in subversion.
My question is: how can I let the ticket owner can make changes to
one projects in subversion?
for example, I have queueA, queueB, queueC, under subversion repos,
I have projectA, projectB, projectC.  User A have a ticket in
queueA, then he can check in to projectA, userB has a ticket in
queueB, then he can check in to projectB.
 
Thanks!
 
Ben


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

thanks, Tom

I used scmbug to hook subversion with RT, is there a way to complete task with scmbug?

also Tom, does your way need a lot work to do?

lets you close tickets with svn commit messages

-kevin

Ben wrote:

thanks, Tom

I used scmbug to hook subversion with RT, is there a way to complete
task with scmbug?

also Tom, does your way need a lot work to do?

Regards,

Ben

I don’t know anything about scmbug so I can’t provide any advice there. My
subversion hooks are very custom. In addition to integrating RT with
subversion, it also pulls binaries from subversion at commit (if the
“production approved” custom field is set) and injects them into our
production deployment control system.

Unfortunately my custom hooks are company proprietary and I don’t have
permission to share them, but in essence they use “svnlook” to get information
about the subversion transaction and the “rt” command line to get and post
information to/from the ticket. In the pre-commit hook there’s just
conditional logic to do things like: make sure the ticket exists, make sure
its in the right queue, make sure the owner of the ticket is the person doing
the commit, etc. The post-commit hook is used to record the commit log
message into the ticket, take a diff and attach it to the ticket, list the
files that were changed in the commit in a reply, record the revision number
committed into the ticket, etc. Documentation galore :slight_smile:

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

RT-Integration-SVN-0.04 - RT Integration-SVN Extension - metacpan.org
lets you close tickets with svn commit messages

That should be easy enough in a custom post-commit hook, too. Just parse the
commands out of the subversion log message fetched with ‘svnlook’ and do the
corresponding thing with the “rt” command line or the REST API.

– ============================
Tom Lahti
BIT Statement LLC

(425)251-0833 x 117
http://www.bitstatement.net/
– ============================

RT-Integration-SVN-0.04 - RT Integration-SVN Extension - metacpan.org
lets you close tickets with svn commit messages

That should be easy enough in a custom post-commit hook, too. Just parse the
commands out of the subversion log message fetched with ‘svnlook’ and do the
corresponding thing with the “rt” command line or the REST API.

You’ve just described how it works

-kevin