Skip to content

Conversation

@salmart-dev
Copy link
Contributor

@salmart-dev salmart-dev commented Aug 20, 2025

Summary

When sharing a file and navigating to the "Advanced settings" the "Set password" checkbox is set even though the password field is empty.

Default unselected:
Screenshot From 2025-08-20 15-47-50

Default selected and disabled:
Screenshot From 2025-08-20 15-48-45

Checklist

@salmart-dev salmart-dev added this to the Nextcloud 31.0.9 milestone Aug 20, 2025
@salmart-dev salmart-dev self-assigned this Aug 20, 2025
@salmart-dev salmart-dev force-pushed the fix/54537/sharePasswordCheckboxCheckedByDefault branch from e6086ee to 640b185 Compare August 20, 2025 14:39
@salmart-dev salmart-dev marked this pull request as ready for review August 21, 2025 09:03
@salmart-dev salmart-dev requested a review from a team as a code owner August 21, 2025 09:03
@salmart-dev salmart-dev requested review from nfebe, susnux and szaimen and removed request for a team August 21, 2025 09:03
@susnux susnux requested a review from skjnldsv August 23, 2025 13:15
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

The checkbox appears checked when no password is set (share.password ===
undefined)

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@salmart-dev salmart-dev force-pushed the fix/54537/sharePasswordCheckboxCheckedByDefault branch from 640b185 to eaaa907 Compare August 26, 2025 15:50
@salmart-dev salmart-dev enabled auto-merge August 26, 2025 15:57
@salmart-dev salmart-dev merged commit 853835b into master Aug 26, 2025
126 checks passed
@salmart-dev salmart-dev deleted the fix/54537/sharePasswordCheckboxCheckedByDefault branch August 26, 2025 16:13
@salmart-dev
Copy link
Contributor Author

/backport to stable31

@backportbot
Copy link

backportbot bot commented Aug 26, 2025

The backport to stable31 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable31
git pull origin stable31

# Create the new backport branch
git checkout -b backport/54538/stable31

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick eaaa9070

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/54538/stable31

Error: Failed to check for changes with origin/stable31: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The "Set password" checkbox in external share has an incorrect default state

4 participants