Our ticket emails contain URLs to display the ticket link, like this:
$RT::WebURL/Ticket/Display.html?id=$Id
This works with a normal web browser, but with the Mobile UI extension
installed which autodetects the client browser and redirects to the
mobile area, I get the following error:
Can’t call method “id” on an undefined value at
/usr/local/lib/rt3/plugins/RT-Extension-MobileUI/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
line 4.
It looks like the URL for the Mobile UI has to look like this instead:
$RT::WebURL/m/ticket/show?id=$Id
but obviously it would be better not to have to include both URLs in the
email message, which could be read on either a mobile device or
desktop/laptop. Is there a way to fix this so that the main URL will
work with the Mobile UI extension?
Thanks,
~Jason
smime.p7s (3.97 KB)
This works with a normal web browser, but with the Mobile UI extension
installed which autodetects the client browser and redirects to the
mobile area, I get the following error:
Can’t call method “id” on an undefined value at
/usr/local/lib/rt3/plugins/RT-Extension-MobileUI/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
line 4.
This was fixed in version 0.99 of the extension which is available on CPAN.
Thomas
This works with a normal web browser, but with the Mobile UI extension
installed which autodetects the client browser and redirects to the
mobile area, I get the following error:
Can’t call method “id” on an undefined value at
/usr/local/lib/rt3/plugins/RT-Extension-MobileUI/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
line 4.
This was fixed in version 0.99 of the extension which is available on CPAN.
Thomas
Yup, that fixed it. I guess I need to check CPAN more frequently.
Thanks,
~Jason
smime.p7s (3.97 KB)