Re: [rt-users] [fwd] Re: RT Mobile UI 0.99 (from: g.bo...@lboro.ac.uk)

2010-11-23 Thread G.Booth

On Mon, 22 Nov 2010 16:30:45 -0500
 Jesse Vincent  wrote:


Garry,

In our testing, this works fine. Perhaps you have the 
old version stuck in your Mason cache?


Hi Jesse

Ive purged the cache and still have the issue.
Ive got a feeling its to do with the way we're doing PAM authentication, as 
the logs are showing a PAM auth failure, followed by an attempt to login 
locally which works.


the access log shows Im attempting to get the ticket id

[23/Nov/2010:10:30:12 +] "GET /Ticket/Display?id=103131 HTTP/1.1" 301 
340 "-" "Mozilla/5.0 (Linux; U; Android 2.2; en-gb; HTC Desire 2.10.161.2 
Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/533.1"


And the messages log shows the PAM failure

Nov 23 10:30:35 telos RT: User me failed PAM authentication 
(/opt/rt3/bin/../local/lib/RT/CurrentUser.pm:345)
Nov 23 10:30:35 telos RT: User me falling back to RT database authentication 
(/opt/rt3/bin/../local/lib/RT/CurrentUser.pm:349)
Nov 23 10:30:35 telos RT: Successful login for me from 158.125.226.123 
(/opt/rt3/bin/../lib/RT/Interface/Web.pm:430)


Then I just get the index page, so my guess is the fallback scrubs the url 
somehow.

Ill try to fix the PAM issue and see if that sorts it all.

Thanks for getting back.

Garry


--

Dr Garry Booth
IT Services
Loughborough University


Re: [rt-users] [fwd] Re: RT Mobile UI 0.99 (from: g.bo...@lboro.ac.uk)

2010-11-22 Thread Jesse Vincent

Garry,

In our testing, this works fine. Perhaps you have the old version stuck in your 
Mason cache?

> - Forwarded message from "G.Booth"  -
> 
> Date: Mon, 22 Nov 2010 10:29:34 +
> From: "G.Booth" 
> To: Jesse Vincent 
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] RT Mobile UI 0.99
> X-Mailer: CommuniGate Pro Pronto 2.2
> 
> Hi Jesse
> 
> Second issue  (not using a mobile link) is fixed.
> First issue still remains. Im hand crafting a url for testing on our
> test system  of this format (taken from our live system outgoing
> emails):
> 
> https://testsystem/Ticket/Display.html?id=175671
> 
> Is this sort of URL still valid?
> It doesnt error, just takes me to the mobile index page
> 
> regards
> Garry
> 
> 
> On Fri, 19 Nov 2010 13:13:31 -0500
>  Jesse Vincent  wrote:
> > I've just pushed 1.00 to CPAN. tell me if it deals right.
> > 
> > 
> > On Tue, Nov 16, 2010 at 09:02:18AM +, G.Booth wrote:
> >> Hi Jason
> >> 
> >> >I asked the same thing last week, but updating to version 0.99
> >> >from CPAN fixed it for me, the mobile browser is automatically
> >> >redirected to the mobile ticket show URL.
> >> 
> >> It seems to be semi-fixed for me, used to get the error that's
> >> been
> >> discussed:
> >> 
> >> Can't call method "id" on an undefined value at 
> >> /opt/rt3/local/plugins/RT-Extension-MobileUI/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
> >> line 4.
> >> 
> >> This has now stopped, but I cant get the url to go to the ticket
> >> :-[
> >> 
> >> >
> >> >I am seeing the same problem that John Arends reported though,
> >> the
> >> >link to switch to the full interface does not work for me.  I
> >> >tried adding a / after m, but it didn't fix it for me. However,
> >> >if I add the full /index.html after the m, then it does work for
> >> >me:
> >> >
> >> >RT->Config->Get('WebPath')%>/m/index.html?NotMobile=1
> >> >
> >> >~Jason
> >> 
> >> Got this one too :-[
> >> 
> >> regards
> >> 
> >> garry
> > 
> > -- 
> 
> 
> --
> 
> Dr Garry Booth
> IT Services
> Loughborough University
> 
> - End forwarded message -
> 
> -- 

--