SenseNet / sensenet

Open Source Content Services Platform written in .NET
https://sensenet.com
GNU General Public License v2.0
174 stars 111 forks source link

DataStore.GetTreeSizeAsync returns DbNull #2119

Open kavics opened 3 weeks ago

kavics commented 3 weeks ago

DataStore.GetTreeSizeAsync returns DbNull when the requested subtree contains no content with any BinaryProperty. The DbNull is cannot be converted to long. In this case, the expected value is 0L