質問

Oracle Universal Content Management Platformのドキュメントをチェックインしようとしています IdcClientManager 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");

どのフィールドを設定する必要があり、この問題を回避するためにどのように設定する必要がありますか?

役に立ちましたか?

解決

以下は、チェックインのデフォルト時間値を設定する方法を説明します。

http://download.oracle.com/docs/cd/e14571_01/doc.1111/e10978/c10_content_tracker.htm#csmrc1121

ここには多くの良い情報がありますが、それは私の問題を実際に解決しませんでした。

代わりに、「管理 - >管理アプレット - > Configuration Manager-> Information Fields」の最後にアクセスしたフィールドのパラメーターキーを確認しました。そして、それがCT_LASTACCESSEDであることがわかりました。

その後、チェックアウトアクションのためにoutputbinderをデバッグすると、実際のキーはXCT_LastAccessedです。

有効な日付形式を取得するには、date_formatフィールドを使用しました oracle.stellent.ridc.model.impl.DataObjectEncodingUtils.

その後、機能します。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top