HomeHomeDotNetNuke 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 4: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 4: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 5: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...

 


Erik van Ballegoij, Technology Lead and Evangelist for DotNetNuke corporation, based in Amsterdam, The Netherlands.

Everything I say on these forums is my own opinion and does not necessarily reflect that of DotNetNuke Corp.
Check out the training sessions at DotNetNuke world. Learn from the Experts!
 
New Post
12/8/2005 6:04 AM
 

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

 


Erik van Ballegoij, Technology Lead and Evangelist for DotNetNuke corporation, based in Amsterdam, The Netherlands.

Everything I say on these forums is my own opinion and does not necessarily reflect that of DotNetNuke Corp.
Check out the training sessions at DotNetNuke world. Learn from the Experts!
 
New Post
12/8/2005 11:12 AM
 
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
HomeHomeDotNetNuke 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


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Exact Target Exec Alert
r2integrated
Telerik JustCode Free

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.