Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm trying to update an existing member, but when I save the member I get the following error: "Username is already in use". The Username/Login field is not updated. I checked the cmsMember table, but the LoginName is only there once.
I haven't reported this as an issue because it only happens for 1 specific member. So I first would like to check on the forum if someone else experienced this before. We're using Umbraco 7.4.3.
Are you using Email as Login names, and i thae it you have checked that you don't have that user already in the database somewhere else
Yes the login names are also the email. I checked in cmsMember table if it's duplicate. Should I check any other tables?
that's odd and did you check both login field and email field in the CMsmember table.. (no this should be the only table you need to check)
Yes I did. I've checked the login and email fields. It's only there once. However the login seems to contain a space at the end. Maybe that results in incorrect behavior.
i was going to ask you to check the length to see if there was white space in the values (as you rightly said, that's what causes the issue)
But if I try to remove the space at the end it still says the username is already in use. Should I do it directly in the db?
That's a question of confidence, , but yes i would do that as long as you feel confident
This is just a guess, but that space at the end might "confuse" Umbraco's validation. At least I've seen that in other systems.
If that is the case, what happens if you change the email to something entirely different, save the member, and then change back to the original value, but without the space?
It might be worth to enter this in the issue tracker (if someone didn't already do so).
I'll have a go...
Issue submitted: http://issues.umbraco.org/issue/U4-9288
Had this happen today for a client. The issue was the space at the end as mentioned by the approved answer.
To get the user to save, change the login to something else, and then set it back - without the space at the end.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted