Active
Project:
Commerce Migrate Ubercart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
18 Jan 2012 at 01:05 UTC
Updated:
23 Feb 2017 at 18:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rfayOK thanks for reporting it. Sounds like somehow the product type deletion process failed.
Comment #2
Anonymous (not verified) commentedIn the process of developing this site, I went through the Ubercart migrate process several times while trying to solve various errors and learn the system. I only ran into this issue when I tried to migrate directly from an Ubercard D6 database to D7 Commerce Kickstart. When I first converted the Ubercart D6 install to Ubercart D7, then performed the Migrate, everything went smoothly.
Comment #3
rfayInteresting, because it's had a lot more time (and is more carefully tuned for) the Ubercart D6 -> Commerce scenario.
Comment #4
Anonymous (not verified) commentedPerhaps it's just something to be aware of going forward. I'll be working with the Ubercart Migrate stuff a lot I imagine, so I'll let you know if I run into the problem again. Thanks for your help.
Comment #6
rfayComment #7
luksakI had this issue when migrating from Ubercart D7.
Comment #8
rfayYou *have to* delete the "product" product type (automatically created by Commerce) before beginning. That's on the instructions on the project page and in the README.
And it's admittedly ugly.
Comment #9
luksakYeah, I know. I just thought that according to this issue it should be fixed.
Comment #11
alexp999 commentedI'm still having this issue.
There doesn't seem to be anyway of deleting the "product" product type.
I tried removing it manually from the database, but then the whole site errors out and I had to restore from backup.
Comment #12
hazaHere is a small patch that will delete a product type, if it exists, that have the same name that the one you try to migrate.
I'm not sure if we really need that or not.
Comment #13
alexp999 commentedJust to say that the above patch worked perfectly.
Thanks!
Comment #14
liliplanet commentedpatch in #12 is fabulous, thank you!
Comment #15
jantoine commentedPatch in #12 is simple and straightforward and it works!
Comment #16
mrconnerton commentedSeems like this issue doesn't apply any more since the latest 2.x version requires you to create the product types manually before you run your migrations.
Comment #17
shaneonabike commentedSo sorry my last post is completely irrelevant to this ticket I apologize.
Comment #18
shaneonabike commentedJust changing the version that this applies to.