[ 
https://issues.apache.org/jira/browse/OFBIZ-9259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079531#comment-16079531
 ] 

Devanshu Vyas edited comment on OFBIZ-9259 at 7/9/17 11:07 AM:
---------------------------------------------------------------

Hello Jacques, 

I tried to regenerate the issue, but I found a different issue.
{code}
java.lang.Exception: Service [addMultipleuploadForProduct] threw an unexpected 
exception/error
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361)
 [ofbiz.jar:?]
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302)
 [ofbiz.jar:?]


2017-07-09 15:42:40,189 |sse-nio-8443-exec-11 |CallService                   
|E| ERROR: Could not complete the Method to upload multiple images for product 
[file:/home/devanshu/ofbiz_dev/bug_crush/trunk/applications/product/minilang/product/imagemanagement/ImageManagementServices.xml#UploadProductImages]
 process [problem invoking the [addMultipleuploadForProduct] service with the 
map named [addAdditionalViewForProductMap] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2017-07-09 
02:42:04.614(java.sql.Timestamp)][createdTxStamp,2017-07-09 
02:42:04.609(java.sql.Timestamp)][currentPassword,{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Calcutta(java.lang.String)][lastUpdatedStamp,2017-07-09
 02:43:49.871(java.sql.Timestamp)][lastUpdatedTxStamp,2017-07-09 
02:43:49.702(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
 productId=GZ-1000, _uploadedFile_contentType=image/png, 
timeZone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],
 locale=en_US, productContentTypeId=IMAGE, imageResize=null, 
uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=204237 cap=204237], 
_uploadedFile_fileName=3d Spider Man Homecoming M Movie Tickets Online Booking  
Showtimes in Indore   Paytm.com.png}]: Service [addMultipleuploadForProduct] 
target threw an unexpected exception (null)]

{code}

Steps followed for regeneration:
- Go to Catalog application.
- Click on the (Image Management) menu item.
- Click on the (Upload) sub-menu item.
- Set a product and upload image(s).
- Click on the (Upload) button.

Let me know if this is the issue you are referring to or is entirely different.


was (Author: devanshu.vyas):
Hello Jaques, 

I tried to regenerate the issue, but I found a different issue.
{code}
java.lang.Exception: Service [addMultipleuploadForProduct] threw an unexpected 
exception/error
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:361)
 [ofbiz.jar:?]
        at 
org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:302)
 [ofbiz.jar:?]


2017-07-09 15:42:40,189 |sse-nio-8443-exec-11 |CallService                   
|E| ERROR: Could not complete the Method to upload multiple images for product 
[file:/home/devanshu/ofbiz_dev/bug_crush/trunk/applications/product/minilang/product/imagemanagement/ImageManagementServices.xml#UploadProductImages]
 process [problem invoking the [addMultipleuploadForProduct] service with the 
map named [addAdditionalViewForProductMap] containing 
[{userLogin=[GenericEntity:UserLogin][createdStamp,2017-07-09 
02:42:04.614(java.sql.Timestamp)][createdTxStamp,2017-07-09 
02:42:04.609(java.sql.Timestamp)][currentPassword,{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Calcutta(java.lang.String)][lastUpdatedStamp,2017-07-09
 02:43:49.871(java.sql.Timestamp)][lastUpdatedTxStamp,2017-07-09 
02:43:49.702(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
 productId=GZ-1000, _uploadedFile_contentType=image/png, 
timeZone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],
 locale=en_US, productContentTypeId=IMAGE, imageResize=null, 
uploadedFile=java.nio.HeapByteBuffer[pos=0 lim=204237 cap=204237], 
_uploadedFile_fileName=3d Spider Man Homecoming M Movie Tickets Online Booking  
Showtimes in Indore   Paytm.com.png}]: Service [addMultipleuploadForProduct] 
target threw an unexpected exception (null)]

{code}

Steps followed for regeneration:
- Go to Catalog application.
- Click on the (Image Management) menu item.
- Click on the (Upload) sub-menu item.
- Set a product and upload image(s).
- Click on the (Upload) button.

Let me know if this is the issue you are referring to or is entirely different.

> Uploading images at catalog/control/addImageForProduct does not work
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-9259
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9259
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>
> This the error I got on trunk demo. The same happens locally, I did not try 
> older branches.
> bq. org.apache.ofbiz.webapp.event.EventHandlerException: Problems reading 
> uploaded data (Processing of multipart/form-data request failed. 
> runtime/tmp/upload_36728b66_61cb_4e79_a4c0_3d9fffd64a3a_00000002.tmp (No such 
> file or directory))



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to