Unable to update a misspelled User Name

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/6/2005 10:28:33 AM
Gravatar
Total Posts 45

Unable to update a misspelled User Name

A misspelled "User Name" can't be updated from the page Admin/ManageUsers.aspx.

Web/Admin/ManageUsers.aspx.cs is correct and sets the name string to be updated.

Here is what needs to be updated:

  • In Business/SiteUser.cs the function Update() does not pass the name string on to the dbPortal.cs function SiteUser_UpdateUser() in PostgreSQLData, MySQLData, or MSSQLData.
  • In dbPortals the function SiteUser_UpdateUser() also does not pass the name string on to the corresponding CreateStoredProcedures.sql scripts.
  • The CreateStoredProcedures.sql scripts do not support updating of the name string in the function mp_users_update().
9/6/2005 1:35:13 PM
Gravatar
Total Posts 18439

Re: Unable to update a misspelled User Name

I will implement that soon so that Admin user can update someone's name after the user is created and I will implement a site setting to enable or disable allowing users to change their own name.

I may make a release before I do that though as I have a number of things I'd like to release soon.
9/6/2005 2:26:02 PM
Gravatar
Total Posts 45

Re: Unable to update a misspelled User Name

I will make the update manually via the command line program psql for now.

If you allow end users to update themselves, you may want to restrict a few names like:

  • Admin
  • Administrator
  • Moderator

from being used.  -- Just a thought.

Thanks,
Todd

9/9/2005 4:08:22 AM
Gravatar
Total Posts 45

Re: Unable to update a misspelled User Name

Another quick trick around this problem for a Site Admin that has no knowledge of SQL commands is to have them delete the user then add the user back with the correct spelling of the user name.
You must sign in to post in the forums. This thread is closed to new posts.