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?
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
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.
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
Thank you for your reply. Just the information I was looking for :)
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?
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
is working on a reply...