interchange / interchange6-schema

DBIC schema for Interchange 6
8 stars 7 forks source link

Topic/cart clone #197

Closed melmothx closed 8 years ago

melmothx commented 8 years ago

See https://github.com/interchange/Dancer-Plugin-Interchange6/pull/56 for the discussion.

SysPete commented 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?

racke commented 8 years ago

Yes that sounds reasonable to me.

SysPete commented 8 years ago

This looks perfect. Thanks @melmothx!