Filtering Null values breaks in upgrade from 4 to 5

Posted by Community Admin on 04-Aug-2018 09:01

Filtering Null values breaks in upgrade from 4 to 5

All Replies

Posted by Community Admin on 11-Mar-2012 00:00

Hello,

In version 4.4 of sitefinity we are using the following filter expression in the download list

Visible = true AND Status = Live AND (ourCustomField = null OR ourCustomField= false)
where ourCustomField is a custom boolean field.
This all works fine in 4.4, however in version 5 the ourCustomField = null expression generates a cannot parse template exception, it is ok with the ourCustomField = false.  How can you test for a null value in version 5 filter expressions without generating a cannot parse template error?

Posted by Community Admin on 14-Mar-2012 00:00

Hi Kris,

I have replied to you in the support thread. You can share the information with the community if you wish.

Kind regards,
Victor Velev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed