Skip to content

Can not download multiple times from public page #19642

Closed

Description

@nickvergessen

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 😉

Activity

  1. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    I'll have a look.

    CC @MorrisJobke who introduced the spinner recently

  2. self-assigned this
    on Oct 8, 2015
  3. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    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 ?

  4. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    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.

  5. added this to the milestone on Oct 8, 2015
  6. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    @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

  7. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    Fix is here #19643

  8. DeepDiver1975 commented on Oct 8, 2015

    @DeepDiver1975
    Contributor

    Works fine in 8.1

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

  9. nickvergessen commented on Oct 8, 2015

    @nickvergessen
    ContributorAuthor

    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

  10. PVince81 commented on Oct 8, 2015

    @PVince81
    Contributor

    fine

  11. locked as resolved and limited conversation to collaborators on Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions