Skip to content

Conversation

@Pytal
Copy link
Member

@Pytal Pytal commented Aug 19, 2022

Fix #33572

  • Fix creation of new user (either with the same or different values entered for Username and Display name)
  • Rollback user creation on invalid displayname
  • Display the correct error message

Out-of-scope

Rollback user creation on other exceptions

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

LGTM 👍

The problem itself is present on 24 and 23 too. I guess it's kinda hard to backport the api changes. However the issue only occurs when userId = displayName so the impact is hopefully not to big.

@Pytal Pytal force-pushed the fix/33572/add-user branch from c300eb2 to 85b1909 Compare August 22, 2022 19:13
@PVince81 PVince81 merged commit 253c064 into master Sep 1, 2022
@PVince81 PVince81 deleted the fix/33572/add-user branch September 1, 2022 15:07
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 1, 2022
@ArtificialOwl
Copy link
Member

ArtificialOwl commented Sep 2, 2022

👍

@ArtificialOwl
Copy link
Member

should we backport this one to stable24 ?

@Pytal
Copy link
Member Author

Pytal commented Sep 29, 2022

We don't backport public API changes though?

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

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: settings feature: users and groups regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Creating new (database) user show misleading error message and loses data

6 participants