Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

 

DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogBlog appears  to generate critical error in DNN 4.0.1Blog appears to generate critical error in DNN 4.0.1
Previous
 
Next
New Post
12/8/2005 5:04 AM
 

Hi there,

I realise that DNN 4.0.1 is brand new and that the Blog probably hasn't been tested on it, however I'll post this anyway just in case it triggers any thoughts on how to fix it:

The blog ran ok on DNN 4.0.0 apart from no longer being searchable by the DNN core search. I could live with that for now.

Now after an upgrade to DNN 4.0.1 the blog generates the error below and kills off all other modules on the page. I have tested this by placing a fresh blog on it's own page and it also immediately generates the error. Other modules all seem to work fine so far.

A critical error has occurred.
Field not found: 'DotNetNuke.Framework.CDefault.Title'.

Just wondering if anyone might have any ideas on this.

Regards,

Rob

New Post
12/8/2005 5:45 AM
 

Rob,

this is one of the things I'm not really happy on.

I never seen DNN 3.2.0, 3.2.1, 4.0.0 or DNN 4.0.1 before the official release, so I can not take care of any changes which was done in the core product.

As far as this situation is not solved in general for the dotnetnuke sub projects I would recommend only to make an upgrade of your portal if you are using only the default modules which are included in the install\modules folder of the install version.

For any additional modules (like blog, forum ...) it would be the best to wait for the announcement that the version is tested with a specific core version.

I know that this is not really a friendly solution, but I don't have any other idea how we (the sub project leader and member) should be able to give you the necessary support for a DotNetNuke sub project.

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
New Post
12/8/2005 6:57 AM
 

hmm... line 50 of /library/components/shared/CDefault.vb is commented out:

'Public Title As String = ""

I am pretty sure the field "Title" of CDefault it used by a lot of modules to dynamically change the page title. This will break all those modules...

 

New Post
12/8/2005 7:04 AM
 

i've created an entry in gemini about this here: http://support.dotnetnuke.com/Default.aspx?p=23&i=2208

 

New Post
12/8/2005 12:12 PM
 
ErikVB wrote

hmm... line 50 of /library/components/shared/CDefault.vb is commented out:

'Public Title As String = ""

I am pretty sure the field "Title" of CDefault it used by a lot of modules to dynamically change the page title. This will break all those modules...

Two things.

1. The code was commented out in 4.0.1 because the base class "Page" now includes a Title property, so I am not sure why the code isn't working.  Leaving it in caused a syntax warning, which I understood to mean that the property defined in CDefault would be ignored and the base classes property would in fact be used.

2. Maybe a bigger issue, is whether it is actually good practice to manipulate the Page title.  I would suggest that for modules to "play well together" they shouldn't manipulate anything outside of their container.  Lets look at a scenario where 2 different modules on the same page both try and manipulate a Page level property - who wins?


Charles Nurse
DotNetNuke Trustee,
Senior Architect, DotNetNuke Coporation
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
See my Blog for Articles on .NET, DNN and Module Development

View my Blog
Previous
 
Next
DotNetNuke ForumDotNetNuke ForumDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogBlog appears  to generate critical error in DNN 4.0.1Blog appears to generate critical error in DNN 4.0.1

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP