Skip to content

Conversation

@MorrisJobke
Copy link
Contributor

To reproduce the failure case change the condition of the if in https://github.com/owncloud/core/blob/637edfde24eefd9e9723ce3d438a7d627059681c/settings/controller/userscontroller.php#L393-393 to true.

Before:

  • no error message shown - looks like delete was successful

After:

  • error message
  • user is added to the user list again

@MorrisJobke
Copy link
Contributor Author

Use the whitespace cleaned diff: https://github.com/owncloud/core/pull/18114/files?w=1

@MorrisJobke
Copy link
Contributor Author

cc @blizzz @PVince81 @oparoz

@MorrisJobke
Copy link
Contributor Author

@karlitschek Just tested it and it is also broken on stable8 and stable8.1. I would like to backport this then.

@DeepDiver1975
Copy link
Member

Just tested it and it is also broken on stable8 and stable8.1.

in this case it's not a regression 🙊

@MorrisJobke
Copy link
Contributor Author

in this case it's not a regession 🙊

It's a regression, because it worked in stable7 and broke during the move of the ajax files to a user controller ;)

@MorrisJobke
Copy link
Contributor Author

Was introduced in #12618

@LukasReschke You also now have the opportunity to review this :P

@scrutinizer-notifier
Copy link

A new inspection was created.

@MorrisJobke
Copy link
Contributor Author

I fixed the unit tests.

@PVince81 @blizzz Please review

@PVince81
Copy link
Contributor

👍

@ghost
Copy link

ghost commented Aug 17, 2015

🚀 Test PASSed.🚀
chuck

@MorrisJobke
Copy link
Contributor Author

@Xenopathic @rullzer @LukasReschke @blizzz @oparoz Please review :)

@oparoz
Copy link
Contributor

oparoz commented Aug 19, 2015

Works! 👍

MorrisJobke added a commit that referenced this pull request Aug 19, 2015
[user mgnt] fix delete user feedback on failure
@MorrisJobke MorrisJobke merged commit 8f00f10 into master Aug 19, 2015
@MorrisJobke MorrisJobke deleted the fix-delete-user-feedback branch August 19, 2015 14:10
@MorrisJobke
Copy link
Contributor Author

@karlitschek What about the backport to stable8 and stable8.1?

@MorrisJobke
Copy link
Contributor Author

@karlitschek What about the backport to stable8 and stable8.1?

Ping.

@karlitschek
Copy link
Contributor

please backport!

@MorrisJobke
Copy link
Contributor Author

stable8.1 #18566
stable8 #18567

@MorrisJobke
Copy link
Contributor Author

Issue noticed during the backports: #20254

@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JS TypeError when deleting user

7 participants