Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RIDC Checkin invalid date issue

913269Jan 27 2012 — edited Jan 30 2012
I am getting below exception while running custom service through RIDC

oracle.stellent.ridc.protocol.ServiceException: Content item 'xxxx' was not successfully checked in. The field 'Created_Date' does not contain a valid date.

Tried below 2 ways to format the date, but not able to resolve above exception

DateFormat dateFormat = new SimpleDateFormat(DataObjectEncodingUtils.DATE_FORMAT);
dataBinder.putLocal("xCreated_Date", dateFormat.format(new Date()));

dataBinder.putLocal("xCreated_Date", DataObjectEncodingUtils.encodeDate(new Date()));

could you please suggest solution to fix this issue

Edited by: jnuthu on Jan 27, 2012 1:41 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2012
Added on Jan 27 2012
3 comments
516 views