2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
141 stars 38 forks source link

Bug: (internal) EntityBased objects sometimes return wrong default when value is not set #3410

Closed iJungleboy closed 1 month ago

iJungleboy commented 1 month ago

I'm submitting a

[x] bug report => search github for a similar issue before submitting

...about

[x] Content Types or data management

Current Behavior / Expected Behavior

Internally 2sxc uses a EntityBasedType object to read values from configuration entities.

In most cases, when bool a value is not set, the default is expected to be false.

But in cases where the fallback should be true it still delivers false.

This must be fixed.

Your environment