Forum topic delete bug?

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.
6/1/2008 12:45:51 PM
Gravatar
Total Posts 11

Forum topic delete bug?

Hi all,

I had difficulty deleting an empty forum topic. I got a big MSSQL error dialog which would not go away until i selected debug and then a VS debug window. However when i stepped through the debugger the deletion process completed without errors.

Has anyone else seen that? It has happened to me twice

Environment:

Latest build of mojoPortal

MS XP SP2

VS 2005

MSSQL 2005

 

6/2/2008 9:40:25 AM
Gravatar
Total Posts 18439

Re: Forum topic delete bug?

Hi,

If you can tell me steps to produce the error I will look into it.

Otherwise if you can check you mojoportal log (or event log on your machine might have it) and find the error and post the stacktrace I will look into it from that angle.

Thanks,

Joe

6/3/2008 5:53:00 PM
Gravatar
Total Posts 11

Re: Forum topic delete bug?

This happens what i try to delete a thread from a forum discussion.

In this case it was the first post.

Here is a link to the error capture .

 

Thanks

D0cNet

6/4/2008 6:15:20 AM
Gravatar
Total Posts 18439

Re: Forum topic delete bug?

Hi,

Thanks for that error message, this is now fixed in svn trunk.

This error would not have happened in production environments, so no-one is experiencing this error on production sites. The error occurs while running in debug mode in VS because it is a debug.assert throwing the exception. The problem was that the parameter array for that stored proceudre was declared in code as having a size of 5 (ie 5 parameters) but the actual procedure had only 1 parameter so the debug assert flagged an error but in actual production use the array being larger than needed causes no error and no problems.

These debug asserts are designed to help find places where the code is incorrect so its good to find and fix things like this so that the code is correct. This was most likely a copy paste error where the code was copied and modified from another method that had more params but the modification to set the correct array size was missed.

Thanks,

Joe

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