View Issue Details

IDProjectCategoryView StatusLast Update
0016149MantisTouchGeneralpublic2013-12-27 21:06
Reporterhockeyfan Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.2 
Fixed in Version1.3.0 
Summary0016149: non-blank $g_mantistouch_url property fails to redirect
Description

I have installed Mantis Touch on the same server that runs our Mantis BT instance. I have the following setup:

Mantis BT installed at: mysite.com/tickets
Mantis Touch installed at: mysite.com/mtickets

I redirect http: requests to https in my Apache config:

 Redirect   permanent       /tickets        https://mysite.com/tickets
 Redirect   permanent       /mtickets       https://mysite.com/mtickets

My Mantis Touch config_php.inc has the following URLS:
$g_mantistouch_url = 'https://mysite.com/mtickets/';
$g_mantis_url = 'https://mysite.com/tickets/';

Access to both versions directly works fine. When I use the Mantis touch site on my phone, I'm prompted for my Mantis BT userid and password and I am able to access the system.

In order to auto redirect to the touch site with a standard site URL I added the $g_mantistouch_url property to my Mantis BT config_inc.php file:

$g_mantistouch_url='https://mysite.com/mtickets'

It's my understanding that this is the format that I need because I am running a single touch instance to connect to a single Mantis BT instance.

However, when I attempt to follow a URL for the Mantis BT site on my phone:

https://mysite.com/tickets/view.php?id=955

I get a server 500 error. I've tried setting the error logging described here: http://www.mantisbt.org/blog/?p=188, but I don't see anything useful.

Can you get me pointed in the right direction to fix this problem?

TagsNo tags attached.

Activities

vboctor

vboctor

2013-12-26 22:10

manager   ~0038936

This fix for this involves a fix in MantisTouch and a fix in MantisBT.

  • The fix in MantisBT makes sure that redirection to MantisTouch doesn't happen when receiving a werbservice call.
  • The fix to MantisTouch makes sure that when redirecting from issue page for issue 100, the user lands in MantisTouch issue 100 view page. This is to accomodate for the scenario where a user clicks on an email link on a cell phone.