mojoPortal 2.2.6.7 Released

mojoPortal 2.2.6.7 is now available on the download page.

This is primarily a bug fix release. There was a change in the search engine architecture in recent versions that did not work in Medium Trust hosting environments that has now been fixed.

It seems like a constant battle to avoid medium trust issues, so I started a small document here with some notes for developers about things to avoid that can cause problems under medium trust.

http://www.mojoportal.com/developing-for-medium-trust.aspx

Its not comprehensive so if anyone else has any suggestions for things to list on this page let me know. Sometimes its surprising when seemingly innocuous things don't work under medium trust. The problem we encountered was when we changed the search engine to use a queue for writing/updating the search index to ensure things happen in correct sequence. We were serializing our task object into a row in the database then our little task service would deserialize it and run it on a new thread in the background. As it turned out the SoapFormatter we were using to do the serialization throws a security exception under medium trust so you can't use it. I had to re-work the code to use the XmlSerializer.

Since a lot of people are hosted in medium trust I thought it important to get this fix out quickly.

This release also fixes a few other minor bugs as mentioned in the forums. I was surprised how many people are experimenting with our WebStore feature. Several bug fixes and improvements have been made in WebStore. Most of the bugs were only affecting the MS SQL version, whereas the store on this site is runningunder MySql

UPDATE: I've just uploaded a new set of files versioned 2-2-6-7-b because a significant bug was found today in the task framework. The changes I made to the way we serialize tasks to fix the medium trust issue introduced a bug that allowed multiple instances of the same task to run at the same time and this would use up additional threads from the threadpool, potentially causing hangs and performance problems. I also upgraded to FCKeditor 2.6.3.

Gravatar Joe Audette is the founder of the mojoPortal project and was the primary developer until February 2017.

Comments

Zak

re: mojoPortal 2.2.6.7 Released

Wednesday, August 6, 2008 9:17:48 AM

Very nice.   Just to note, in case you don't know already, is that ExtJs just released a 2.2 version on Monday.  It apparently has fixes for FF3.  Of course I have already been working on patching ExtJs 2.0 to make it play nicer for FF3 but I figure I'll try 2.2 to see what happens.  Thanks, Zak

re: mojoPortal 2.2.6.7 Released

Wednesday, August 6, 2008 9:39:18 AM

Hi Zak,

I can no longer upgrade to new versions of ExtJs because they changed the license to GPL

http://extjs.com/blog/2008/04/27/open-source-license-exception-for-extensions/

So if there are problems affecting mojoportal we will have to look at solving them with modifications to the existing 2.0.2 code included with mojoPortal. Its very unfortunate that the ExtJs project pulled this bait and switch from LGPL to GPL. Had I known ahead of time they were going to do that I would not have invested effort in developing .NET controls around it.

Joe

re: mojoPortal 2.2.6.7 Released

Monday, August 11, 2008 10:35:34 AM

So nice design! I'm VERY impressed!!! Is it now a default schema for new MP portals?

I'll upgrade asap.

With the

PS Just FYI, mono is in pre-release state for v2.0. They are talking about complete ASP.NET 2.0 support in this release. I hope this will eliminate all this nightmare with deployment in Linux environment and MP will be fully and forever cross-platform!

Comments are closed on this post.