We're updating the issue view to help you get more done. 

1.7 to 1.8 migration script fails to migrate templates if a template has duplicate products

Description

If a product template includes the same product more than once, the migrate-1.7-to-1.8.sql script will display an error message like:

1 ERROR 1062 <23000> at line 3120: Duplicate entry '2941-lowQuantity' for key 'PRIMARY'

and templates won't be migrated.
The attached migration script handles duplicates correctly, but must be run on an unmigrated database.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Fix versions

Affects versions

1.8

Priority

Major