Skip to content
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

Can not download multiple times from public page #19642

Closed
nickvergessen opened this issue Oct 8, 2015 · 8 comments · Fixed by #19643
Closed

Can not download multiple times from public page #19642

nickvergessen opened this issue Oct 8, 2015 · 8 comments · Fixed by #19643

Comments

@nickvergessen
Copy link
Contributor

Steps

  1. Share a folder with multiple files as link
  2. Open public link
  3. Select more then one file from the list
  4. Press Download

Expected

Can press download again

Actual

Button is "disabled"
files_-owncloud-_2015-10-08_11 03 49

Works fine in 8.1

@PVince81 maybe something for you while you are in your JS phase 😉

@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

I'll have a look.

CC @MorrisJobke who introduced the spinner recently

@PVince81 PVince81 self-assigned this Oct 8, 2015
@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

It looks like public download doesn't set the magic cookie so we cannot know when the download started. From what I remember this used to work ?

@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

The cookie is only set in "files/ajax/download.php" while the public page goes through an app framework controller for the download.

From reading the code it looks like this never could work, at least not since we have the controllers.

@DeepDiver1975 DeepDiver1975 added this to the 8.2-current milestone Oct 8, 2015
@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

@DeepDiver1975 not a regression. I just checked the git history and this feature has only be added in 8.2. I mistakenly thought that @MorrisJobke backported it

@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

Fix is here #19643

@DeepDiver1975
Copy link
Member

Works fine in 8.1

worked before and now it's broken -> regression for me

@nickvergessen
Copy link
Contributor Author

Well, the cookie is not in 8.1 right, but in 8.1 you can press the dl button multiple times without a page reload

@PVince81
Copy link
Contributor

PVince81 commented Oct 8, 2015

fine

@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants