View Issue Details

IDProjectCategoryView StatusLast Update
0015346MantisTouchGeneralpublic2015-11-12 23:44
Reportergrahamrb Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformiOSOSiOSOS Version6.0.1
Fixed in VersionNext 
Summary0015346: Unable to view attachments on mobile when g_mantistouch_url is set
Description

if a MantisTouch url has been set in the mantis config (g_mantistouch_url) then mantis will always redirect all requests from a mobile to the MantisTouch instance. This is fine most of the time however when trying to view an image attached on a bug you end up redirected to the MantisTouch home page.
I verified that when g_mantistouch_url is blank it works correctly. Should be a minor update to core.php (around line 112) to detect what the person is trying to look at and not perform the redirection if it is an attachment.
This brings up a separate issue which is that you are required to re-authenticate with mantis when you do try to view this image but perhaps this is more of a feature request to provide cross auth.

Steps To Reproduce

1) enable g_mantistouch_url entry in mantis config
2) visit mantis from a mobile device (iPhone in my case)
3) You are correctly taken to the MantisTouch page
4) browse to a bug which has an image attached
5) tap on the image to view the image
6) a new window/tab is opened on your mobile browser and you are redirected to the mantistouch home page instead of the image

TagsNo tags attached.

Relationships

related to 0013751 assignedvboctor Plugin - MantisTouchRedirect Add configuration option for mobile browser redirection 
has duplicate 0017138 closedvboctor MantisTouch Downloading attachments via MantisTouch doesn't work 

Activities

vboctor

vboctor

2014-04-12 22:49

manager   ~0040092

Last edited: 2014-04-12 22:49

This is fixed via using MantisTouch Redirect plugin [1] + a fix on the MantisTouch side that will be included in the next release.

[1] https://github.com/vboctor/MantisTouchRedirect/

bossyang

bossyang

2014-05-01 21:59

reporter   ~0040199

When and How can I get the next release? My manager has paid for MantisTouch with her account. Can you change the technique contact to me?