[jira] [Comment Edited] (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:comment-tabpanel=16084114#comment-16084114 ] Jacques Le Roux edited comment on OFBIZ-9259 at 7/12/17 3:31 PM: - Thanks Devanshu, Your patch is in trunk r1801742 R16.11 r1801743 R15.12 r1801744 was (Author: jacques.le.roux): Thanks Devanshu, Your patch is in trunk r1801742 R16.11 r1801743 R15.12 and R14.12 r1801744 > 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 > Fix For: Release Branch 15.12, 16.11.04 > > 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=1980,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)
[jira] [Comment Edited] (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:comment-tabpanel=16082004#comment-16082004 ] Jacques Le Roux edited comment on OFBIZ-9259 at 7/11/17 10:12 AM: -- Thanks Devanshu, looking forward :) Then maybe you should assign this issue to yourself was (Author: jacques.le.roux): Thanks Devanshu, looking forward :) > 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 > > {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=1980,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)
[jira] [Comment Edited] (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:comment-tabpanel=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=1980,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=1980,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)