Closed thejabok closed 8 years ago
AFAIK this "Gallery" icon is provided by the Gallery app so its probably better to close here and re-open in: https://github.com/owncloud/gallery/issues
Thanks, @RealRancor, will do!
@RealRancor, @oparoz, reopening this issue here because it seems to be a bug in core. The described problem occurs not only when trying to switch between file list view and gallery view, but also sporadically when trying to switch between admin page and apps page before Security & Setup Warnings have finished loading. Instead of apps administration page opening, admin page just reloads. Happy to provide any information necessary, but the issue is difficult to reproduce.
We've tried to pinpoint what exactly the problem is, but have been unsuccessful so far.
Some pre-conditions:
@PVince81 @MorrisJobke - This makes me think about some recent work done to redirect requests which were failing (or something like that). Or it call be that the callbacks prevent the original call to switch to a different app.
Might need to add code to auto-cancel ajax calls. Strange thing that we even need to do that.
I've just tried on slow hardware, but haven't been able to experience this issue yet. I'm able to switch after uploading files. It must be something specific like the cron or storagestats.
@oparoz Try navigating to a folder that already exists and that has a lot of images in it with no rendered thumbnails. That's when I experience the error. After upload, it works alright.
@thejabok - That's what I did. My top folder has a few sub-folders one of them is full of JPGs which can't get rendered. I opened that folder, saw a few requests to generate previews and pressed the button to switch. It must be a timing issue. A new request is made which requires the URL to belong to Files
@thejabok - Take a look at https://github.com/owncloud/core/issues/23482#issuecomment-199858330
Closing in favor of https://github.com/owncloud/core/issues/23482
@oparoz @PVince81 Thanks, I'll try that when I get home!
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.