-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User trapped in app management screen #23482
Comments
Probably related to #23178 |
Works after reverting #16783 |
Commenting out the global ajax error handler makes the problem disappear: https://github.com/owncloud/core/blob/v9.0.0/core/js/js.js#L1441 I suspect that when leaving the page, the ajax call might be receiving an error. |
Looks like we get statusCode 0 and statusText "error" in the global handler when the user navigates away while ajax calls are running. That code is responsible for detecting either a 401 error or a cross-domain redirect caused by SSO token timeout. Problem is, that one also returns a status code of 0. |
Just tested with a cross-domain redirect, and it also returns "0" and "error" 😦 |
That's a real nightmare... also need to detect whether an app is using "beforeunload" and the dialog pops up, and detect whether the user cancelled navigating away, and then reset the flag. Doesn't work very well... I'll just put a higher timeout value. |
Fix is here: #23487 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
index.php/settings/apps
Expected behaviour
The page should load
Actual behaviour
App management reloads
Server configuration
Operating system: Linux Mint 17.3
PHP version: php 5.5.32
ownCloud version: master
Updated from an older ownCloud or fresh install: fresh
Where did you install ownCloud from: git
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 45
Operating system: Linux Mint 17.3
Logs
Web server error log
ownCloud log (data/owncloud.log)
--- empty ---
Browser log
@schiesbn can reproduce this as well on Iceweasle/Firefox 44
The text was updated successfully, but these errors were encountered: