How to get authentication while opening ticket from the link in the admin correspondance mail.?

Hi,

When a ticket is created we get a admin correspondence mail with the ticket
id , owner and the link to the ticket.

Now when we click the link of the ticket directly it should open up the
login screen after entering the user name and password which should proceed
showing the ticket details.

For eg.: http://abc.defghk.com/Ticket/Display.html?id=345

The ticket opens up from the link when there is already a user logged in. If
there are no users logged in we get the error:

“Can’t call method “HasRight” on an undefined value at
/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm line 3351.”

When refered to the rt.log I find this error:

[Tue May 26 12:05:14 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

[Tue May 26 12:05:18 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

Is this is a bug or what do I need to do to get this working? Please Guide…

I’m using RT 3.8.2, Apache 1.3, CentOS 5.2

Thanks

Manohar

I believe you adjusted NoAuth regexp in the config, didn’t you? This
regexp doesn’t mean “UI will start working without auth”, but the
following instead “components matching this regular expression can
work without any credentials”.On Tue, May 26, 2009 at 4:11 PM, H Manohar rayker manohar.r@glowtouch.com wrote:

Hi,

When a ticket is created we get a admin correspondence mail with the ticket
id , owner and the link to the ticket.

Now when we click the link of the ticket directly it should open up the
login screen after entering the user name and password which should proceed
showing the ticket details.

For eg.: http://abc.defghk.com/Ticket/Display.html?id=345

The ticket opens up from the link when there is already a user logged in. If
there are no users logged in we get the error:

“Can’t call method “HasRight” on an undefined value at
/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm line 3351.”

When refered to the rt.log I find this error:

[Tue May 26 12:05:14 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

[Tue May 26 12:05:18 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

Is this is a bug or what do I need to do to get this working? Please Guide….

I’m using RT 3.8.2, Apache 1.3, CentOS 5.2

Thanks

Manohar


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

Best regards, Ruslan.

Hello Ruslan,

Thanks for your suggestion; however my cigarette went in vein. This couldn’t
solve my requirement.

Any other ways…??? Please suggest. Like any forums or chat
rooms… etc…

Got a deadline also for this task.

Thanks
ManoharFrom: Ruslan Zakirov [mailto:ruslan.zakirov@gmail.com]
Sent: Tuesday, May 26, 2009 8:02 PM
To: H Manohar rayker
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] How to get authentication while opening ticket from
the link in the admin correspondance mail.?

I believe you adjusted NoAuth regexp in the config, didn’t you? This
regexp doesn’t mean “UI will start working without auth”, but the
following instead “components matching this regular expression can
work without any credentials”.

Hi,

When a ticket is created we get a admin correspondence mail with the
ticket
id , owner and the link to the ticket.

Now when we click the link of the ticket directly it should open up the
login screen after entering the user name and password which should
proceed
showing the ticket details.

For eg.: http://abc.defghk.com/Ticket/Display.html?id=345

The ticket opens up from the link when there is already a user logged in.
If
there are no users logged in we get the error:

“Can’t call method “HasRight” on an undefined value at
/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm line 3351.”

When refered to the rt.log I find this error:

[Tue May 26 12:05:14 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

[Tue May 26 12:05:18 2009] [error]: Couldn’t get principal for not loaded
object (/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1154)

Is this is a bug or what do I need to do to get this working? Please
Guide….

I’m using RT 3.8.2, Apache 1.3, CentOS 5.2

Thanks

Manohar


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

Best regards, Ruslan.