Developer forum

Forum » Templates » Data Publishing With Edit Row

Data Publishing With Edit Row

Nuno Aguiar
Reply

Hi,

 

When we activate the checkbox for detail of a record, we get the following error. What are we doing wrong?

An error occured while attaching module (Dynamicweb.Frontend.Content)
 

System.NullReferenceException: Object reference not set to an instance of an object.
   at Dynamicweb.Modules.DataManagement.PublishingRenderer.RenderRow(Publishing pub, Template template, DataRow row, Int32 index, DataColumn[] pk, Int32 rowCount, Int32 columnCount, Template rowsTemplate)
   at Dynamicweb.Modules.DataManagement.PublishingRenderer.RenderRows(Publishing pub, Template template)
   at Dynamicweb.Modules.DataManagement.PublishingRenderer.RenderPublishing(Publishing pub, Template template)
   at Dynamicweb.Modules.DataManagement.PublishingFrontend.RenderPublishing(String result)
   at Dynamicweb.Modules.DataManagement.PublishingFrontend.GetContent()
   at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)

 

This is what we did:

  • Create a Form
  • Create a View based on the form's table
  • Apply the module a paragraph
  • It lists OK, but we want to edit rows, and this is the result
  • Version: 8.4.0.8

 

Nuno


Replies

 
Mikkel Ricky
Reply

I cannot reproduce this. Do you have a solution we can take a look at, or can you provide further details on the exact settings you're using?

Best regards,
Mikkel

 
Nuno Aguiar
Reply

Hi Mikkel,

 

After a while it started working for no apparent reason frown

 

Now we can reach the edit template, but not save it. I noticed this is reported and fixed in 8.4.1.0 as Bug 13882.

 

Thanks a lot anyway.

 

Nuno

 
Mikkel Ricky
Reply

Great. I should have read the bug fix list for 8.4.1.0 as well …

 

You must be logged in to post in the forum