Hello guys,
I have a "little problem" with the basic functionality.
This is the code from sample (treeview app):
DocumentManagement.Attachment contents = fDocManService.GetVersionContents( fDocsAuthentication, currNode.ID, 0 );
Normally it returns the last version of document.
Problem occurs in the situation there's Archive like a storage provider (not database) and there's more than 1 only version of document.
It returns silly error message:
------------------------------------
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: toDate() not implemented for this datatype (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
OpenText.Livelink.Service.Core.ServiceException: toDate() not implemented for this datatype
------------------------------------
OpenText support says only "it's known issue"
[LESAPI-201]DocumentManagement.GetVersionContents throws exception "toDate() not implemented for this datatype"
and occurs if version (in dversdata table) has no value in the colums pFileCreateDate or pFileModifyDate (which is ocuring in described situation).
OpenText support is not able to say when this problem will be solved.
Could you anybody recommend the functional workaround?
Thanks a lot, Dalibor