Quick ship entire order. BigDecimal/Double issue
------------------------------------------------- Key: OFBIZ-2147 URL: https://issues.apache.org/jira/browse/OFBIZ-2147 Project: OFBiz Issue Type: Bug Components: order, product Affects Versions: SVN trunk Environment: CentOS5 Trunk Rev : 738645 Reporter: Josh Murphy Fix For: SVN trunk After creating an order and receiving a payment i clicked "quick ship entire order " and received the following error. The Following Errors Occurred: Error:Prefix message:Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [createPaymentApplication] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double] (Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double])Suffix message:Suffix error: calling service updateShipment in createShipmentForFacilityAndShipGroup -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668309#action_12668309 ] Scott Gray commented on OFBIZ-2147: ----------------------------------- Hi Josh, I can't seem to reproduce this one, could you provide some steps to do so on the demo server? > Quick ship entire order. BigDecimal/Double issue > ------------------------------------------------- > > Key: OFBIZ-2147 > URL: https://issues.apache.org/jira/browse/OFBIZ-2147 > Project: OFBiz > Issue Type: Bug > Components: order, product > Affects Versions: SVN trunk > Environment: CentOS5 > Trunk Rev : 738645 > Reporter: Josh Murphy > Fix For: SVN trunk > > > After creating an order and receiving a payment i clicked "quick ship entire order " and received the following error. > The Following Errors Occurred: > Error:Prefix message:Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [createPaymentApplication] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double] (Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double])Suffix message:Suffix error: calling service updateShipment in createShipmentForFacilityAndShipGroup -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Murphy closed OFBIZ-2147. ------------------------------ Resolution: Invalid I am sorry all. This was my issue. Thanks > Quick ship entire order. BigDecimal/Double issue > ------------------------------------------------- > > Key: OFBIZ-2147 > URL: https://issues.apache.org/jira/browse/OFBIZ-2147 > Project: OFBiz > Issue Type: Bug > Components: order, product > Affects Versions: SVN trunk > Environment: CentOS5 > Trunk Rev : 738645 > Reporter: Josh Murphy > Fix For: SVN trunk > > > After creating an order and receiving a payment i clicked "quick ship entire order " and received the following error. > The Following Errors Occurred: > Error:Prefix message:Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [createPaymentApplication] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double] (Type check failed for field [createPaymentApplication.amountApplied]; expected type is [BigDecimal]; actual type is [java.lang.Double])Suffix message:Suffix error: calling service updateShipment in createShipmentForFacilityAndShipGroup -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |