2 Replies Latest reply on Feb 7, 2013 1:41 AM by Pawko

    Default value for property of Date type

    Pawko

      Hi,

      I try to create new node type in Node Type in administration console. Unfortunately it impossible to register type with new property of Date type (with marked auto-create option) because error occurs: Error:javax.jcr.nodetype.InvalidNodeTypeDefinitionException: [{}metadataproj#{proj}validDate] auto-created property must have a default value.

       

      Does anybody know how to set empty default value for property of Date type in this case? I tried:  "", " ", null, but none of these were valid.

       

      BR

      Pawos