[ https://issues.apache.org/jira/browse/OFBIZ-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261050#comment-14261050 ]
Jacopo Cappellato commented on OFBIZ-5925: ------------------------------------------ [~diveshdut], [~deepak.dixit], thanks for your valuable comments: containsKey() should work fine in this context. > Pack order flow is broken > ------------------------- > > Key: OFBIZ-5925 > URL: https://issues.apache.org/jira/browse/OFBIZ-5925 > Project: OFBiz > Issue Type: Bug > Components: order > Reporter: Deepak Dixit > Priority: Blocker > > Pack order flow is broken, its throwing error > {code} > [java] org.ofbiz.widget.screen.ScreenRenderException: Error rendering > screen [component://product/widget/facility/ShipmentScreens.xml#PackOrder]: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://product/widget/facility/CommonScreens.xml#main-decorator]: > org.ofbiz.entity.transaction.GenericTransactionException: The current > transaction is marked for rollback, not beginning a new transaction and > aborting current operation; the rollbackOnly was caused by: Service > [calcShipmentCostEstimate] threw an unexpected > exception/errororg.ofbiz.service.GenericServiceException: Service > [calcShipmentCostEstimate] target threw an unexpected exception (The field > name (or key) [size] is not valid for entity [OrderItemAndShipGroupAssoc].) > (Service [calcShipmentCostEstimate] target threw an unexpected exception (The > field name (or key) [size] is not valid for entity > [OrderItemAndShipGroupAssoc].)) (The current transaction is marked for > rollback, not beginning a new transaction and aborting current operation; the > rollbackOnly was caused by: Service [calcShipmentCostEstimate] threw an > unexpected exception/errororg.ofbiz.service.GenericServiceException: Service > [calcShipmentCostEstimate] target threw an unexpected exception (The field > name (or key) [size] is not valid for entity [OrderItemAndShipGroupAssoc].) > (Service [calcShipmentCostEstimate] target threw an unexpected exception (The > field name (or key) [size] is not valid for entity > [OrderItemAndShipGroupAssoc].))) (Error rendering screen > [component://product/widget/facility/CommonScreens.xml#main-decorator]: > org.ofbiz.entity.transaction.GenericTransactionException: The current > transaction is marked for rollback, not beginning a new transaction and > aborting current operation; the rollbackOnly was caused by: Service > [calcShipmentCostEstimate] threw an unexpected > exception/errororg.ofbiz.service.GenericServiceException: Service > [calcShipmentCostEstimate] target threw an unexpected exception (The field > name (or key) [size] is not valid for entity [OrderItemAndShipGroupAssoc].) > (Service [calcShipmentCostEstimate] target threw an unexpected exception (The > field name (or key) [size] is not valid for entity > [OrderItemAndShipGroupAssoc].)) (The current transaction is marked for > rollback, not beginning a new transaction and aborting current operation; the > rollbackOnly was caused by: Service [calcShipmentCostEstimate] threw an > unexpected exception/errororg.ofbiz.service.GenericServiceException: Service > [calcShipmentCostEstimate] target threw an unexpected exception (The field > name (or key) [size] is not valid for entity [OrderItemAndShipGroupAssoc].) > (Service [calcShipmentCostEstimate] target threw an unexpected exception (The > field name (or key) [size] is not valid for entity > [OrderItemAndShipGroupAssoc].)))) > {code} > This error occured due to recent fix in GenericEntity.get(). Need to fix the > pack order flow. -- This message was sent by Atlassian JIRA (v6.3.4#6332)