AnsweredAssumed Answered

Error saving property as datetime

Question asked by achillies on Mar 4, 2011
Hi,
I have defined a custom property
<property name="a:iDate">
<title>I Date</title>
<type>d:datetime</type>
<mandatory enforced="false">true</mandatory>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>

When I try to set this property as "12/12/2011" value and send it as a string I get the following error
'a:iDate' is a Decimal property!
java.lang.IllegalArgumentException: Property 'a:iDate' is a Decimal property!

If you have any ideas of why I am getting this error it would be of great help. I would highly appreciate any insight into this.

Outcomes