debug mode bug in dbSiteUser.cs for GetSingleUserByLoginName

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.
4/25/2012 9:50:43 PM
Gravatar
Total Posts 1

debug mode bug in dbSiteUser.cs for GetSingleUserByLoginName

Get debug assertion when trying to register a new user. Parameter counts don't match actual stored procedure parameter counts...

SqlParameterHelper sph = newSqlParameterHelper(GetConnectionString(), "mp_Users_SelectByLoginName", 2);

should be:

SqlParameterHelper sph = newSqlParameterHelper(GetConnectionString(), "mp_Users_SelectByLoginName", 3);

 

4/26/2012 7:37:27 AM
Gravatar
Total Posts 18439

Re: debug mode bug in dbSiteUser.cs for GetSingleUserByLoginName

Thanks! This is now fixed in the source code repository. It should not affect any production sites running with a release build since the correct parameters are being passed to the procedure, this error would only show up in debug mode.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.