error when upload the image in partyManager in trunk edition

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

error when upload the image in partyManager in trunk edition

guo weizhan
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 | Threaded
Open this post in threaded view
|

Re: error when upload the image in partyManager in trunk edition

David E Jones

Thanks for reporting this. It is probably related to the blob  
correction changes I did on Monday. Could you write a short list of  
the steps you took (on which pages, in which forms, etc) to make this  
happen?

Thanks,
-David


On Oct 25, 2007, at 2:21 AM, guo weizhan wrote:

> 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]]


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error when upload the image in partyManager in trunk edition

guo weizhan
the "Party Content" section of page:
https://localhost:8443/partymgr/control/uploadPartyContent
I add a image as the admin's logoImageURl , It's throw this ERROR after I
click the upload


2007/10/25, David E Jones <[hidden email]>:

>
>
> Thanks for reporting this. It is probably related to the blob
> correction changes I did on Monday. Could you write a short list of
> the steps you took (on which pages, in which forms, etc) to make this
> happen?
>
> Thanks,
> -David
>
>
> On Oct 25, 2007, at 2:21 AM, guo weizhan wrote:
>
> > 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 | Threaded
Open this post in threaded view
|

Re: error when upload the image in partyManager in trunk edition

David E Jones

Thanks again for reporting this. It is fixed in SVN rev 589517.

-David


On Oct 25, 2007, at 7:48 AM, guo weizhan wrote:

> the "Party Content" section of page:
> https://localhost:8443/partymgr/control/uploadPartyContent
> I add a image as the admin's logoImageURl , It's throw this ERROR  
> after I
> click the upload
>
>
> 2007/10/25, David E Jones <[hidden email]>:
>>
>>
>> Thanks for reporting this. It is probably related to the blob
>> correction changes I did on Monday. Could you write a short list of
>> the steps you took (on which pages, in which forms, etc) to make this
>> happen?
>>
>> Thanks,
>> -David
>>
>>
>> On Oct 25, 2007, at 2:21 AM, guo weizhan wrote:
>>
>>> 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]]
>>
>>
>>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error when upload the image in partyManager in trunk edition

guo weizhan
Thank you!

2007/10/29, David E Jones <[hidden email]>:

>
>
> Thanks again for reporting this. It is fixed in SVN rev 589517.
>
> -David
>
>
> On Oct 25, 2007, at 7:48 AM, guo weizhan wrote:
>
> > the "Party Content" section of page:
> > https://localhost:8443/partymgr/control/uploadPartyContent
> > I add a image as the admin's logoImageURl , It's throw this ERROR
> > after I
> > click the upload
> >
> >
> > 2007/10/25, David E Jones <[hidden email]>:
> >>
> >>
> >> Thanks for reporting this. It is probably related to the blob
> >> correction changes I did on Monday. Could you write a short list of
> >> the steps you took (on which pages, in which forms, etc) to make this
> >> happen?
> >>
> >> Thanks,
> >> -David
> >>
> >>
> >> On Oct 25, 2007, at 2:21 AM, guo weizhan wrote:
> >>
> >>> 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]]
> >>
> >>
> >>
>
>
>