View Issue Details

IDProjectCategoryView StatusLast Update
0005612mantisbtotherpublic2007-10-24 02:27
Reporterdaegon Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a2 
Fixed in Version1.1.0rc2 
Summary0005612: Redirect time ignored in preferences
Description

I just set up a new install of 1.0.0a2 and immediately set my redirect time to 0 since I loathe the "confirmation" pages. It was originally set at 2, yet even after changing it, all pages have

<meta http-equiv="Refresh" content="2;URL=some_page" />

within them. Clearly an error.

Additional Information

By the way, there should be a category for preferences in this BT.

TagsNo tags attached.

Activities

thraxisp

thraxisp

2005-05-16 17:28

reporter   ~0010147

The user preference isn't used anywhere.

daegon

daegon

2005-05-16 17:31

reporter   ~0010148

Ah, that would explain it. Any chance it can get used for that?

My current (ugly) workaround is to check if the redirect time == 2 in html_api's redirect function. If it is, I change it to 0 since no one on my team likes the delay.

vboctor

vboctor

2005-05-17 03:29

manager   ~0010153

I added the preferences category to the bugtracker.

brody

brody

2006-08-22 05:10

reporter   ~0013314

Last edited: 2006-08-22 05:12

What about this issue, which was mentioned at V1.0.0a2 - I use 1.0.5 and there is the same problem. An user of mine installation wanted to set this value higher because of a slightly different workflow of its own.

Are there plans, to use the user dependent delay value in the future?

@thraxisp: are the user dependent settings are unused in general or did you mean only the delay value?

Maciej

Maciej

2007-10-11 20:27

reporter   ~0015853

Have same in Mantis 1.1.0rc1

Also noticed that after almost all redirecting page doesnt refresh
Need to push F5 to have new content

Same in Opera and IE

Thats really annoying - I would even turn redirection off (if this would work...)

Plz correct as this seems to be essential

giallu

giallu

2007-10-13 19:22

reporter   ~0015859

Just noticed this bug...

The "funny" thing is that, the user preference for the redirect time is never used in the code but the delay is controlled by another config variable:

$g_wait_time = 2;

I think we need to obsolete that one and replace it with the user preference value.

vboctor

vboctor

2007-10-15 01:32

manager   ~0015870

I've commented to giallu offline on this. I think that the code should be updated to use the user preference. The configuration option should be used as the default value for the user preference for newly created users.

giallu

giallu

2007-10-16 18:18

reporter   ~0015891

Fixed in BRANCH_1_1_0, will be merged to HEAD later.

Now I expect the logical follow-up bug report:

Confirmation page shuold not appear if redirect_delay is set to 0

Related Changesets

MantisBT: master-1.1.x 54c508b1

2007-10-16 18:15

giallu


Details Diff
Fix 5612: Redirect time ignored in preferences

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/branches/BRANCH_1_1_0@4642 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0005612
mod - doc/CUSTOMIZATION Diff File
mod - core/html_api.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File