Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 547 posts 1287 karma points
    Oct 24, 2011 @ 11:07
    Sebastian Dammark
    0

    Umbraco or uComponents related error ?

    I'm having the attached error on one of my documents.

    It happens every time I attach a MNTP (MultiNodeTreePicker) to my document.
    Changing the name and alias of the property doesn't have any effect.

    So the question is, how do I fix it and is it related to Umbraco or uComponents ?

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Oct 24, 2011 @ 11:57
    Lee Kelleher
    0

    Hi Sebastian,

    When you say that you attach a MNTP to your document, do you mean as a new property or an existing one?

    From the error message, it appears that MNTP is trying to access a node/document that doesn't exist.

    If you've changed an existing property field to use a MNTP, then the existing data/value might be causing problems?

    Cheers, Lee.

  • Sebastian Dammark 547 posts 1287 karma points
    Oct 29, 2011 @ 23:56
    Sebastian Dammark
    0

    Hi Lee

    Yeah ... that was the exact problem.  I changed a provperty from Textstring to MNTP.

    Any ideas why it keeps the data from the old property, when I just deleted it ?

    // Sebastian

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 30, 2011 @ 00:49
    Jeroen Breuer
    0

    Hi Sebastian,

    I think that's just the way Umbraco works. It stores a value. If you change the datatype it always returns the value of the previous datatype. Sometimes you don't notice this because the new datatype stores the value as ntext instead of nvarchar. In that case a different field is used in Umbraco and you don't get the old value back. This problem isn't related to uCompontents. It can happen with any datatype.

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies