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 581 posts 1405 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 4020 posts 15802 karma points MVP 13x 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 581 posts 1405 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 4908 posts 12265 karma points MVP 5x 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

Please Sign in or register to post replies

Write your reply to:

Draft