ERROR: Could not complete the Attach an uploaded file to a data resource as
IMAGE_OBJECT
[file:/F:/ofbiz/applications/content/script/org/ofbiz/content/data/DataServices.xml#saveImageObjectDateResource]
process [problem invoking the [createImageDataResource] service with the map
named [serviceContext] containing [{locale=zh_CN, dataResourceId=10031,
imageData= java.nio.HeapByteBuffer[pos=0 lim=41089 cap=41089],
userLogin=[GenericEntity:UserLogin][createdStamp,2007-07-06 15:17:55.89(
java.sql.Timestamp)][createdTxStamp,2007-07-06 15:17:52.906(
java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(
java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String
)][hasLoggedOut,N(java.lang.String
)][isSystem,null()][lastCurrencyUom,null()][lastLocale,zh_CN(
java.lang.String)][lastTimeZone,Etc/GMT
8(java.lang.String)][lastUpdatedStamp,2007-09-16 21:57:
06.781(java.sql.Timestamp)][lastUpdatedTxStamp,2007-09-16 21:57:06.781(
java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLoginId,admin(
java.lang.String)]}]: Type check failed for field [
createImageDataResource.imageData]; expected type is [java.sql.Blob]; actual
type is [java.nio.HeapByteBuffer]]

Reply via email to