Hey, folks - I'm seeing something rather odd that ...
# support
t
Hey, folks - I'm seeing something rather odd that I don't know how to explain. I'm trying to create a new Order using the Order::Importer and assign line items to the order. Whenever I do so, though, I end up getting an ActiveRecord exception:
ActiveRecord::ActiveRecordError: cannot update a new record
It seems to originate from the call in the importer to
order.updater.update
, and specifically from the
update_totals
call within the updater. I'm attempting to trace this further to understand more deeply - but is this... not a supported use case somehow?