I'm currently trying to make an Umbraco package with some doctypes and templates. One of the doctypes has a property with a datatype I've created, that's based on the uComponents: Multi-Node Treepicker.
I include the doctype and the datatype in my package, then i make sure the recieving Umbraco site has uComponents installed before I install my own package. Unfortunately this procedure resultst in YSODs on both document based on the doctype with the treepicker, and on the imported datatype itself.
Message in YSOD in both cases is: FormatException: Input string was not in a correct format. in uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_PrevalueEditor.<get_StartNodeXPathExpressionType>b__e(PreValue x) +39
Am I trying to do something that is just not possible?
Thanks for your time, but I don't think that's it.
Because the Xpaths involved are ultra simple. The one selecting the root node is ".", selecting the node the datatype is displayed in. The one selecting nodes to display is "/*", selecting all children of the current node.
The error is shown also when clicking on the DataType in the Developers section, so it's not even possible to open the datatype and edit it.
Including multi node treepicker type in package
I'm currently trying to make an Umbraco package with some doctypes and templates. One of the doctypes has a property with a datatype I've created, that's based on the uComponents: Multi-Node Treepicker.
I include the doctype and the datatype in my package, then i make sure the recieving Umbraco site has uComponents installed before I install my own package. Unfortunately this procedure resultst in YSODs on both document based on the doctype with the treepicker, and on the imported datatype itself.
Message in YSOD in both cases is:
FormatException: Input string was not in a correct format.
in uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_PrevalueEditor.<get_StartNodeXPathExpressionType>b__e(PreValue x) +39
Am I trying to do something that is just not possible?
Regards
Jesper Hauge
The error seems to suggest that you have some XPath expression to find the startnode, maybe that's not a valid expression in your other site?
Hi Sebastiaan,
Thanks for your time, but I don't think that's it.
Regards
Jesper Hauge
is working on a reply...