Skip to content

[Bug]: Useless (and confusing) input field for shared links #61364

@Volker-K

Description

@Volker-K

⚠️ This issue respects the following points: ⚠️

Bug description

If you want to create an external link, you’ll be prompted to enter an email address. If you enter any email address, you’ll be asked to select a card from the App Deck to which you want to add the file or folder. In our installation, no email is sent—which may be because external links must be password-protected and expire after 40 days.
The email address field is apparently useless when passwords are required for external links, and linking the respective object to a card in a deck is completely and obviously nonsensical in this context.

Steps to reproduce

  1. Klick on three-dot-menu of file or folder and select "Details"
  2. Klick on "Share"
  3. Enter an eMail-Address

Expected behavior

Either the external link with it's generated password will be sent to the eMail-address entered or the field should not be displayed at all.

Nextcloud Server version

33

Operating system

Other

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "maintenance": false,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            ***
        ],
        "theme": "",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "dbtype": "mysql",
        "version": "33.0.3.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "installed": true,
        "appstoreenabled": true,
        "knowledgebaseenabled": false,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "ldapIgnoreNamingRules": false,
        "updatechecker": false,
        "logtimezone": "Europe\/Berlin",
        "remember_login_cookie_lifetime": 1000,
        "session_lifetime": 900,
        "singleuser": false,
        "secret": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "log_type": "syslog",
        "trashbin_retention_obligation": "auto, 360",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:***",
        "default_language": "de_DE",
        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
        "auth.bruteforce.protection.enabled": false,
        "integrity.check.disabled": true,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "proxy": "***",
        "proxyexclude": [
            "***"
        ],
        "defaultapp": "files",
        "mysql.utf8mb4": true,
        "disable_mobile_push": true,
        "data-fingerprint": "***",
        "app_install_overwrite": []
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0
  - admin_audit: 1.23.0
  - announcementcenter: 7.4.1
  - app_api: 33.0.0
  - bruteforcesettings: 6.0.0
  - calendar: 6.5.0
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.7.0
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - deck: 1.17.3
  - federatedfilesharing: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0
  - related_resources: 4.0.0
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - support: 5.0.0
  - systemtags: 1.23.0
  - tasks: 0.17.1
  - terms_of_service: 4.7.0
  - text: 7.0.1
  - theming: 2.8.0
  - theming_customcss: 1.20.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - user_ldap: 1.24.0
  - user_status: 1.13.0
  - viewer: 6.0.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - encryption: 2.21.0 (installed 2.7.0)
  - federation: 1.23.0 (installed 0.0.4)
  - files_external: 1.25.1
  - firstrunwizard: 6.0.0 (installed 1.1)
  - sharebymail: 1.23.0 (installed 1.0.1)
  - survey_client: 5.0.0 (installed 0.1.5)
  - suspicious_login: 11.0.0
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 7.0.0
  - updatenotification: 1.23.0 (installed 0.1.0)

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions