Skip to content

[Bug]: Sharing via email errors with missing password

Open

Description

⚠️ This issue respects the following points: ⚠️

Bug description

When trying to share folder via an email address, with enforced passwords on sharing, clicking on the share button causing the password box to go blank, flash a red border but still save. The share will not work due to having a missing password. If you go in and edit the share and make a new password, the share will start to work again.

Steps to reproduce

1.From the root view of the folders, click on share icon
image
2 Enter in a valid email address and click the email box below.
image
3. Form is prefilled and generated password is viewable when clicking show/hide password eye.
image
4. Click on "Save Share" the password box empties and has a red border around it
image
5. If you go in and edit the share, there is still a red box around the password box and an email was not sent.
image
6. Entering a new password and clicking "Update share" will add the new, manually entered password and email the password to the email address.

Expected behavior

The auto generated password should be saved and emailed to the email address.

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

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

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No response

Additional info

Edge Version 129.0.2792.65 (Official build) (64-bit)
Chrome Version 129.0.6668.71 (Official Build) (64-bit)

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

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions