我正在尝试签入一个关于Oracle Universal Content Management platform和IdcClientManager on Java的文档。
我一直收到这个错误:
oracle.stellent.ridc.protocol.ServiceException: Content item 'ada' was not successfully checked in. The field 'Last Accessed' does not contain a valid date.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:116)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:92)我尝试了几个选项,包括:
inputBinder.putLocal("xLastAccess","11/27/10 12:13 PM");
inputBinder.putLocal("xNoLatestRevisionDate","11/27/10 12:13 PM");
inputBinder.putLocal("xCT_LastAccessed","11/27/10 12:13 PM");我应该设置什么字段,我应该如何设置它来解决这个问题?
发布于 2010-11-27 20:48:50
以下是如何设置签入的默认时间值的说明。
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10978/c10_content_tracker.htm#CSMRC1121
尽管这里有很多好的信息,但它并没有真正解决我的问题。
相反,我检查了“管理->管理Applets ->配置管理器->信息字段”上的Last Accessed字段的参数键。然后发现它是CT_LastAccessed。
稍后,在调试签出操作的outputBinder时,实际的密钥是xCT_LastAccessed。
为了获得有效的日期格式,我在oracle.stellent.ridc.model.impl.DataObjectEncodingUtils中使用了DATE_FORMAT字段。
然后它就起作用了。
https://stackoverflow.com/questions/4291234
复制相似问题