View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016510 | mantisbt | installation | public | 2013-10-18 05:04 | 2014-12-08 02:07 |
Reporter | atrol | Assigned To | dregad | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0dev | ||||
Target Version | 1.3.0-beta.1 | ||||
Summary | 0016510: Wrong redirect after installation | ||||
Description | After installation you get a link at the bottom of the page to login and create your first project. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Was the config file created properly ? |
|
config_inc.php looks OK. The installer page is opened in upgrade mode after clicking the link. |
|
I found out that the behavior is caused by the way I started the installation using one of my bookmarks in browser. Starting the installation using http://localhost/mantisbt/master/admin/install.php works, but the new workflow is more complicated than in 1.2 This is the current workflow in 1.3 which is even more complicated if I don't enter a value for crypto_master_salt Enforcing a value for the administrator password in installation dialog 0010968 would simplify the installation process for users and simplify the code. |
|
I was able to reproduce this behavior, and after investigation I believe it is caused by the browser caching the redirection header. I was able to fix the problem by adding a 'no-cache' header. |
|
Beat me to it ;-) |
|
sdfgdf |
|
xdfjghjgh |
|
MantisBT: master 4c0ba6e1 2013-10-20 13:40 Details Diff |
Fix redirection to login page after install When installation is started from login page (redirected to install from core.php), the link to 'Continue to log into Mantis' goes back to install page instead of login page. Resolved problem by adding a no-cache header. Also changed Location header response to 307 instead of default 302. Fixes 0016510 |
Affected Issues 0016510 |
|
mod - core.php | Diff File |