Bug #85657
closedAccessing the standalone install tool gives a 401 error in the browser console
0%
Description
Accessing the install tool in standalone mode gives an error in the browser console
typo3/install.php?install[controller]=layout&install[action]=executeSilentConfigurationUpdate&_=1532606775517 401 (Unauthorized)
This does not cause any error in terms of functionality, but is a bit unclean in terms of coding.
Updated by Susanne Moog almost 6 years ago
- Target version changed from 9 LTS to Candidate for patchlevel
Updated by Markus Klein almost 6 years ago
- Status changed from New to Closed
- Target version deleted (
Candidate for patchlevel)
Seems to be fixed
Updated by Christian Kuhn almost 6 years ago
actually, that is NOT fixed: this happens only if you are not logged in (standalone mode and no open be user session), so if the 'enable_install_tool file' is shown.
meanwhile, this is a 403, btw.
i had a look at this, and actually, i'd keep it like that: the simple strategy in the routing is: try to load the tool and if a 403 comes in (user not logged in), then redirect to login/enable_install_tool view. it's just that the silent upgrader is the first think that is tried, so that is the one that fails if you're not logged in.
this strategy is quite straight and saves us from a generic "do i have a session?" ajax call in front that would be performed every single click.
there is also nothing bad with receiving a 403 and then acting upon, see handleAjaxError() in router.js that has been designed to take care of that.
Updated by Christian Kuhn almost 6 years ago
- Related to Task #86347: Improve install tool loading message added
Updated by Christian Kuhn almost 6 years ago
- Related to Bug #86259: Install Tool does not provide a loading indicator added