Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jesper Hauge 298 posts 487 karma points c-trib
    Apr 28, 2011 @ 14:43
    Jesper Hauge
    0

    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

  • Sebastiaan Janssen 5045 posts 15478 karma points MVP admin hq
    Apr 28, 2011 @ 23:35
    Sebastiaan Janssen
    0

    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?

  • Jesper Hauge 298 posts 487 karma points c-trib
    Apr 29, 2011 @ 10:57
    Jesper Hauge
    0

    Hi Sebastiaan,

    Thanks for your time, but I don't think that's it.

    1. 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.
    2. 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.

    Regards
    Jesper Hauge

Please Sign in or register to post replies

Write your reply to:

Draft