You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/07/12 14:27:00 UTC

[jira] [Assigned] (OFBIZ-9259) Uploading images at catalog/control/addImageForProduct does not work

     [ https://issues.apache.org/jira/browse/OFBIZ-9259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-9259:
--------------------------------------

    Assignee: Jacques Le Roux

> 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
>            Assignee: Jacques Le Roux
>         Attachments: OFBIZ-9259.patch
>
>
> {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.



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