Skip to content

[stable29] fix(files_sharing): Fix error messages from password policy - #49823

Closed
backportbot[bot] wants to merge 1 commit into
stable29from
backport/49361/stable29
Closed

[stable29] fix(files_sharing): Fix error messages from password policy#49823
backportbot[bot] wants to merge 1 commit into
stable29from
backport/49361/stable29

Conversation

@backportbot

@backportbotbackportbotBot commented Dec 12, 2024

Copy link
Copy Markdown

Backport of #49361

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

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

Exceptions thrown from password_policy may bubble up in share creation
or update when a password is used. Their message is meant to be shown
to the user. This always the case for HintException so we catch that
instead of the subclass GenericShareException.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
[skip ci]
@come-nc

Copy link
Copy Markdown
Contributor

I will backport #49822 instead

@come-nccome-nc closed this Dec 12, 2024
@susnux
susnux deleted the backport/49361/stable29 branch April 23, 2025 11:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@come-nc