Skip to content

Download / menu links don´t work on public share pages #7509

Closed

Description

@splitt3r

Steps to reproduce

  1. Share a file by link
  2. Click on the download button in the upper right corner / the more icon

Another strange behaviour:

  1. Share a pdf by link
  2. Click on the download button in the upper right corner
  3. Now you see a whitepage instead of the pdf

Expected behaviour

Sth. should happen

Actual behaviour

Nothing happens

Server configuration detail

Operating system: Linux

Webserver: Apache (CentOS)

Database: sqlite3 3.7.17

PHP version: 7.1.12

Nextcloud version: 13.0.0 Beta 3

Updated from an older Nextcloud/ownCloud or fresh install: fresh

Where did you install Nextcloud from: official zip

Signing status

Integrity checker has been disabled. Integrity cannot be verified.

List of activated apps
Enabled:
 - comments: 1.3.0
 - dav: 1.4.5
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_sharing: 1.5.0
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - issuetemplate: 0.3.0
 - lookup_server_connector: 1.1.0
 - oauth2: 1.1.0
 - provisioning_api: 1.3.0
 - sharebymail: 1.3.0
 - systemtags: 1.3.0
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - updatenotification: 1.3.0
 - workflowengine: 1.3.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - testing
 - user_ldap
Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "sqlite3",
    "version": "13.0.0.8",
    "installed": true
}

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Mozilla Firefox / Edge / Chrome

Download

The menu doesn´t show up because of

#header .menu {
    display: none;
}

which seems to override the value from the .open class.

Activity

  1. alberizo commented on Dec 14, 2017

    @alberizo

    I have the same problem. When I share anything the link give error "The shared file doesnt exists",

    The problem is the & in the url before "&download", if I change it to "/download" is working OK.

    Nope
    https://.......com/cloud/index.php/s/3OARtUk8WrZdp9V&download

    Yes
    https://.......com/cloud/index.php/s/3OARtUk8WrZdp9V/download

  2. splitt3r commented on Dec 14, 2017

    @splitt3r
    ContributorAuthor

    Hm i don´t know if you problem is related because if i remove the display: none; mentioned above the issue seems to be fixed. But the pdf problem is still there (pdfviewer is hidden after pressing the download / more button).

    Before:

    before

    After clicking (removed the link):

    after

  3. alberizo commented on Dec 14, 2017

    @alberizo

    You are right. I wanted open an issue about my problem, I saw yours and I thought What a coincidence! ... only 3 minutes ago. But I was wrong, isn't the same issue. I´m sorry

  4. added this to the Nextcloud 13 milestone on Dec 18, 2017
  5. self-assigned this
    on Dec 18, 2017
  6. MorrisJobke commented on Dec 19, 2017

    @MorrisJobke
    Member

    This is partly fixed by #7566

  7. removed their assignment
    on Dec 19, 2017
  8. MorrisJobke commented on Dec 22, 2017

    @MorrisJobke
    Member

    The menu in the header now properly opens as well as the PDF viewer is not hidden anymore. I will close this for now. Could you give this a test once the next beta is out? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions