`"Type an email"` placeholder still shown when no email-based external share providers available
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
- Klick on three-dot-menu of file or folder and select "Details"
- Klick on "Share"
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Share flow from Files > Details > Share with sharebymail disabled and no email-based external-share provider available. Trace the sharing UI in the files_sharing app and check the existing behavior around the email placeholder; done means the email prompt is absent when no applicable provider exists, while supported email sharing remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100