Copied to clipboard

Flag this post as spam?

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


  • Stefan 117 posts 215 karma points
    Aug 15, 2014 @ 02:43
    Stefan
    0

    Slider datatype in Umbraco 7 initial value is null

    When using the new slider datatype in Umbraco 7 (7.1.4 assembly: 1.0.5261.28127), the initial value is not set when a page is created. I'm using it to set the maximum allowed number of children for any given node in a menu - to do this the value must always be available, even though the user does not set the value of the slider explicitly.

    If the content editors does not update the value of the slider prior to publishing the new page, it gives a NullReferenceException.

    Am I missing something, or is this the way it is supposed to be working?

    Full stack trace available at this pastebin.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Aug 15, 2014 @ 22:53
    Jeavon Leopold
    100

    Hi Stefan,

    This is a known bug that is fixed in the upcoming v7.1.5 release. Full details here

    A nightly build could be an option for you if you need the fix ASAP.

    Jeavon

  • Stefan 117 posts 215 karma points
    Aug 18, 2014 @ 18:26
    Stefan
    0

    Thank you for your reply. Just the information I was looking for :)

  • Stefan 117 posts 215 karma points
    Aug 19, 2014 @ 02:49
    Stefan
    0

    Just downloaded and upgraded to the latest nightly. As of now, there is still no fix available.

    The error still persists. Am I missing something?

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Aug 19, 2014 @ 09:09
    Jeavon Leopold
    0

    I would double check you have updated the js files in the Umbraco and umbraco_client folders and also ensure that you have cleared your browser cache as the fix is showing as fully merged. See here

Please Sign in or register to post replies

Write your reply to:

Draft