EventCalendar.ascx module do not work "out of the box"

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/29/2007 3:40:54 AM
Gravatar
Total Posts 18

EventCalendar.ascx module do not work "out of the box"

I use mono and xsp2 v1.2.4 in Kubuntu v7.04. MojoPortal is of 2-2-1-8 version. Everything works quite well "out of the box" except the "Events" link on the left.

 

When clicking, I used to get an error: "mp:CornerRounder class not found. Namespace or assembly not registered."

 

I was able to fix this adding registration for mojoPortal.Web.Controls.dll in /Modules/EventCalendar.ascx like here:

<%@ Register Namespace="mojoPortal.Web.Controls" Assembly="mojoPortal.Web.Controls" TagPrefix="mp2" %>

Correspondingly I had to replace tag prefix in the last line from <mp:CornerRounder ...> to <mp2:CornerRounder ...>

 

Please, take check this point before next release. When do you plan it?

 

CarGa.

 

5/29/2007 5:48:13 AM
Gravatar
Total Posts 18439

Re: EventCalendar.ascx module do not work "out of the box"

Hi,

This is already fixed in mojoPortal in svn and will therefore be in the coming release. It never was a bug on Windows, so it really wasn't a mojoPortal bug but I did fix this so it works on Mono.

All of the controls are registered in web.config instead of in the .ascx or .aspx. I fixed this  bug by changing the namespace on the DataCalendar. It was using the mp prefix but came from a different namespace and this caused Mono to fail to see the other namespace using that prefix. I moved DataCalendar into mojoPortal.Web.Controls and that fixed it.

I'm not sure exactly how soon the new release will be but I think within 2 weeks. You can get it now from svn branches/2.x and build with MonoDevelop 0.12 or newer. If you have the svn client installed, you can get the code using

svn co https://forgesvn1.novell.com/svn/mojoportal/branches/2.x

Cheers,

Joe

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