Null reference in blog feedback post

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.
5/25/2006 11:16:36 AM
Gravatar
Total Posts 16
www.CodeWise.nl

Null reference in blog feedback post

Joe,

I get a null reference exception when posting a feedback on a blog entry.

The exception orgionated from BlogView.aspx.cs, I had a look around and found I was missing 'ContentNotifyOnComment' from mp_ModuleSettings, then I had a look in mp_ModuleDefinitionSettings, it was missing there also.

I added them using an insert statement, then everything was fine.

insert into mp_ModuleDefinitionSettings(ModuleDefID, SettingName, SettingValue, ControlType, RegexValidationExpression) values (12 ',ContentNotifyOnComment', 'true', 'Checkbox', '')

This all was on a newly downloaded and installed version of mojo running on .net 2.0 with a newly created mssql database.

I think you should add the setting to mojoPortal.Business.CreateInitialData (and other places you see fit)

Also I was unable to find where the setting can be altered using the interface.

Regards,

Jelle 

5/25/2006 1:32:23 PM
Gravatar
Total Posts 18439

Re: Null reference in blog feedback post

Hi Jelle,

Thanks for letting me know. I have fixed this in svn trunk and will fix it in svn /branches/2.1 this weekend when I merge my other changes in there.

I actually recently created an interface for adding and editing the module definition settings. Right now its only in my sandbox at branches/joedev2.1 but it will be in the main 2.1 branch this weekend sometime along with a lot of other nice enhancements.

Cheers,

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