Closed melmothx closed 8 years ago
I'm wondering what the expected behaviour should be if clone is called with the current name as arg when sessions_id is set. My guess right now is that we'll get a new cart row but any related cart_products will be lost due to delete having been called before copy. Perhaps clone should croak if name is not changed?
Yes that sounds reasonable to me.
This looks perfect. Thanks @melmothx!
See https://github.com/interchange/Dancer-Plugin-Interchange6/pull/56 for the discussion.