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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListApply Template (DNN 6.2.4)Apply Template (DNN 6.2.4)
Previous
 
Next
New Post
10/10/2012 4:05 PM
 

Today's update for DNN 6 fixes the issue with exporting a Portal template and using it to build a new site.  However, the problem with Applying a Form & List template still exists.

When you export a F&L module as a Template and try to Apply that template to a new F&L module, you get:

A critical error has occurred. Object reference not set to an instance of an object.

It then adds additional Blank F&L modules to the bottom of the Content Pane on that page.

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 48bc8164-e6d4-40ed-8896-2eb472dabd72

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController.GetModuleContent

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController.GetModuleContent(XmlNode nodeModule, Int32 moduleId, Int32 tabId, Int32 portalId, Boolean isInstance) at DotNetNuke.Modules.UserDefinedTable.Serialization.ModuleSerializationController.DeserializeModule(XmlNode nodeModule, XmlNode nodePane, Int32 portalId, Int32 tabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules) at DotNetNuke.Modules.UserDefinedTable.Templates.TemplateController.LoadTemplate(String name, Int32 portalId, Int32 tabid) at DotNetNuke.Modules.UserDefinedTable.TemplateList.GridView1_SelectedIndexChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.GridView.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.WebControls.GridView.HandleSelect(Int32 rowIndex) at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
10/10/2012 5:34 PM
 

I am aware of this bug - and it is not only the form and list module which suffers from it. Export a page template with content and try to use it - the same error will occur.

In case of the FnL template, you can fix the template by deleting line 2 which contains a content node.


 
New Post
10/11/2012 10:05 AM
 
Stefan Cullmann wrote:

In case of the FnL template, you can fix the template by deleting line 2 which contains a content node.

 Thanks for the tip, Stefan!  Just tested it and it works.

 
New Post
10/11/2012 4:07 PM
 
btw, page export / import is fixed in DNN6.2.4, unfortunately FnL doesn't benefit from the changes and it has to be fixed also in the module.
 
New Post
4/30/2013 2:20 PM
 
Hi Stefan,

I have DotNetNuke 06.02.05 and Form and List version 05.01.03
I get the same error trying to create a Form and List module from the template.

What line 2 do I have to remove?
I tried to remove line 2 from the file members.dnn_userdefinedtable.module.template but I still get the same error:
First I removed 'Members'
Then I removed ''
Neither of these worked.

Any help would be greatly appreciated.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListApply Template (DNN 6.2.4)Apply Template (DNN 6.2.4)


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