Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error creating portal when importing in templates (duplicate ModuleID?)Error creating portal when importing in templates (duplicate ModuleID?)
Previous
 
Next
New Post
8/15/2006 8:57 PM
 
Actually my proposed solution will work with all templates, as I propose to add an optional element to the template schema, and I will check for that element and respond accordingly in the template parser.

The one thing to remember though is that Templates created with multidefinition modules like Blog prior to this upgrade will still fail.  I can make it so they no longer throw exceptions, but they will not parse correctly. 

This is because the exported template has no information to indicate which module definition the module belongs to.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
8/16/2006 12:58 PM
 

Seems like you completed the call Charles! Excellent news.
The byproduct is there is even more reason for people to upgrade to 4.3.5 now.

cnurse wrote
The one thing to remember though is that Templates created with multidefinition modules like Blog prior to this upgrade will still fail.  I can make it so they no longer throw exceptions, but they will not parse correctly.

Quite understandable as the export wasn't creating the template properly.

That's why I think this different call: DNNP-3688 is so important. My opinion is that if a portal can't be created properly (from a dodgy template or whatever) then it should not be created. It should roll back as though nothing has happened so no portal and any assoiciated garbage gets created (database/files whatever).

I suppose in addition once the host is informed that the portal cannot be created you could offer reasons why it happened in the error message, and then offer the host another attempt at creating the portal without trapping or rolling back the error (in case they prefer to hack themselves out of the issue, if this is indeed possible). Then again this might not be necessary or a good idea at all (jury is out).

I've updated DNNP-3688 to reflect the recent fix.

Cheers and thanks Charles

Alex



Alex Shirley


 
New Post
8/20/2006 7:52 AM
 

Just wondered if the default supplied templates need recreating as well after this change?

Cheers

Alex



Alex Shirley


 
New Post
9/1/2006 1:01 AM
 

Hi,

That issue was also identified in those posts:

http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/106/threadid/33368/scope/posts/Default.aspx

and

http://forums.asp.net/thread/1127519.aspx

I had identified 2 causes of import crash linked to duplicate moduleid:

MultiDefs modules and reference copied modules.

I can not see any reference to the second cause. Was this fixed earlier?

Cheers

 


Jesse
CTO - Aricie
 
New Post
9/1/2006 4:59 AM
 

Maybe you'd like to log a seperate call in Gemeni for this?

Cheers!

Alex

 



Alex Shirley


 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Error creating portal when importing in templates (duplicate ModuleID?)Error creating portal when importing in templates (duplicate ModuleID?)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out