RT Mobile UI 0.99

Hi All

Have a small glitch with the mobile interface. Im running 3.8.8 and mobile
0.99
When a case is created in rt and a mail is sent to the members of the queue,
the ticket url is of the format:

https://rt.blah.com/Ticket/Display.html?id=174184

This works fine for the full interface and you access the case ok. The
mobile interface doesnt seem to like it and sends you to the mobile homepage
(/m/index.html). It seems to want the format to be

https://rt.blah.com/m/ticket/show?id=174184

Does anybody know if there’s a simple way to make rt cope with the
differences and convert the first url to the second if it detects a mobile
phone is being used?

regards

Garry

ps. testing was on a htc desire and the webkit browser

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.

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

~JasonOn 11/15/2010 09:37 AM, G.Booth wrote:

Hi All

Have a small glitch with the mobile interface. Im running 3.8.8 and
mobile 0.99
When a case is created in rt and a mail is sent to the members of the
queue, the ticket url is of the format:

https://rt.blah.com/Ticket/Display.html?id=174184

This works fine for the full interface and you access the case ok. The
mobile interface doesnt seem to like it and sends you to the mobile
homepage (/m/index.html). It seems to want the format to be

https://rt.blah.com/m/ticket/show?id=174184

Does anybody know if there’s a simple way to make rt cope with the
differences and convert the first url to the second if it detects a
mobile phone is being used?

regards

Garry

ps. testing was on a htc desire and the webkit browser

smime.p7s (3.97 KB)

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

I’ve just pushed 1.00 to CPAN. tell me if it deals right.On Tue, Nov 16, 2010 at 09:02:18AM +0000, 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

This solves the problem I was having with the non-mobile browser link.On 11/19/10 12:13 PM, 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 +0000, 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

John Arends
jarends@illinois.edu
Network Analyst
College of ACES ITCS
University of Illinois at Urbana-Champaign

This solves the problem I was having with the non-mobile browser link.

Works for me too, thanks Jesse.

~Jason> On 11/19/10 12:13 PM, 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 +0000, 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

smime.p7s (3.97 KB)

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
GarryOn Fri, 19 Nov 2010 13:13:31 -0500 Jesse Vincent jesse@bestpractical.com wrote:

I’ve just pushed 1.00 to CPAN. tell me if it deals
right.

On Tue, Nov 16, 2010 at 09:02:18AM +0000, 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