savePaymentGatewayResponse throws exceptions due to foreign key constraints
---------------------------------------------------------------------------

                 Key: OFBIZ-4176
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4176
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: Martin Kreidenweis


If you use a CC payment service provider that actually wants to save not only 
PaymentGatewayResponses, but also PaymentGatewayResponseMessages, saving these 
to the database actually might fail because they are created in the wrong 
order. The response and the messages are scheduled as separate async rollback 
services in processCreditResult. So it's not guaranteed the Response is there 
before OFBiz tries to add the ResponseMessages. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to