Fix unique constraint violations in Ordered.pm blanket movement (RT#79773)
authorPeter Rabbitson <ribasushi@cpan.org>
Sat, 3 Nov 2012 12:44:57 +0000 (13:44 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 3 Nov 2012 18:24:56 +0000 (19:24 +0100)
commit375c84bb498461d8d3bffc9a085161454670eed6
treea2d5d9780a524b4b5cfaa23b3af8c8bd7ed2d88d
parentdfa92e5eafa5996b04009a8be7180343abd63675
Fix unique constraint violations in Ordered.pm blanket movement (RT#79773)

This essentially reverts 5e6fde33e5 which was applied without much thinking.
Added a test to ensure this doesn't re-break again.
Changes
lib/DBIx/Class/Ordered.pm
t/ordered/cascade_delete.t
t/ordered/unordered_movement.t [new file with mode: 0644]