The SOAP function "create" accepts multiple objects of the same type.
In this patch:
Instead of calling "create" for each iteration over order->products during uc_sf_order_export,
collect the sf product objects and create them all at once.
Also, comment out some calls to "dpm" that were creating fatal errors.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_sf_order.patch | 2.2 KB | aaronbauman |
Comments
Comment #1
bibeksahu commentedI'll look into this this week.
Comment #2
EvanDonovan commented@aaronbauman: It looks like this is already in your mega-patch for compatibility? If so, can I close this after my re-roll is committed?
cf. lines 703-722 in uc_sf_order_export() (line numbers may be slightly off from what you would get from patching):
Comment #3
EvanDonovan commentedActually, I am certain that the code I quoted above is doing this, so marking as RTBC.
Comment #4
EvanDonovan commentedFixed in alpha2.