uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.DataBind() in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataEditor.cs:343
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataType.m_Tree_PreRender(Object sender, EventArgs e) in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataType.cs:161
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.OnPreRender(EventArgs e) in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataEditor.cs:444
If I clear the value in the source server, and push again with courier, it works fine, but that kinda kills the idea of using courier to push stuff over.
The same node exists on the target server, tho it's ID is different.
Anyone got any ideas? Not sure if it's a courier problem, or a MNTP one.
I "believe" the problem is when you use the XML data format for MNTP ... Courier has no way of understanding the XML structure natively. Seems that if you switch the data format to CSV, the problem disappears. But I can't verify that 100% - purely based on what other people have told me!
That said, the latest beta of Courier (v2.5) is meant to support custom XML structures natively. (Again, I haven't tested this)
Multi Node Tree Picker error after Courier push
OK, I have a MNTP in a document, and that data type references a tree in another part of the content structure, eg:
Top -> Classics -> DG100 (has the MNTP in it, which looks at everything under Tags below)
Meta -> Tags -> dg100 (this is the node that the MNTP contains, id 1234)
this works fine until I push it from server to server with Courier. Then I get an exception:
[NullReferenceException: Object reference not set to an instance of an object.]
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.SelectedValues_ItemDataBound(Object sender, RepeaterItemEventArgs e) in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataEditor.cs:391
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +203
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +626
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +166
System.Web.UI.Control.DataBindChildren() +11413863
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.Control.DataBindChildren() +11413863
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.DataBind() in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataEditor.cs:343
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataType.m_Tree_PreRender(Object sender, EventArgs e) in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataType.cs:161
uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.OnPreRender(EventArgs e) in C:\Users\wisen\Code\temp\ucomp2.1\trunk\uComponents.Core\DataTypes\MultiNodeTreePicker\MNTP_DataEditor.cs:444
System.Web.UI.Control.PreRenderRecursiveInternal() +113
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
If I clear the value in the source server, and push again with courier, it works fine, but that kinda kills the idea of using courier to push stuff over.
The same node exists on the target server, tho it's ID is different.
Anyone got any ideas? Not sure if it's a courier problem, or a MNTP one.
looking at Per Ploug's recent post, I wonder if I need to write a custom resolver...
Hi Nic,
I "believe" the problem is when you use the XML data format for MNTP ... Courier has no way of understanding the XML structure natively. Seems that if you switch the data format to CSV, the problem disappears. But I can't verify that 100% - purely based on what other people have told me!
That said, the latest beta of Courier (v2.5) is meant to support custom XML structures natively. (Again, I haven't tested this)
Cheers, Lee
Thanks Lee - I'll switch it to CSV, as I have no tie to XML.... I think!
<puts debuging hat on>
Cheers.
N
is working on a reply...