c# - Why does sitecore ignores default value 0 by type integer? -


i'm using sitecore. project have created template simple type integer field. integer field has default value of 0.

when create new item based on template value 0 (default value), not displayed. changing default value 1 (for example) displayed. there knows how fix issue?

thanks lot.

jordy

sitecore not ignore default value 0. value '0' stored in sitecore integer field it's not displayed field default value int type (or maybe long cause know value parsed long).

if change show raw values value displayed.

and if access field value code, 0.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -