VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: ppaulo on September 23, 2013, 19:44:23 PM

Title: Migration off categories
Post by: ppaulo on September 23, 2013, 19:44:23 PM
Hi guys,

I migrate to virtuemart 2, but the categories don´t migrate very well. Apparently they all migrate, but the sub-categories are all like superior category level. They lost the virtuemart 1 order, it´s normal?
Title: Re: Migration off categories
Post by: Chaz on September 25, 2013, 20:25:31 PM
I experienced the same issue and also received the error "Port Categories Xref unknow : ID 0" during the migration process. After some debugging I found that the VM 1.1 category_xref table had a row where the parent_id and child_id were both set to 0. I deleted this row and then reprocessed the data migration and all the category hierarchy was migrated properly. This row was probably bad data from VM1.
Title: Re: Migration off categories
Post by: Maxim Pishnyak on September 26, 2013, 11:57:53 AM
Quote from: ppaulo on September 23, 2013, 19:44:23 PM
I migrate to virtuemart 2, but the categories don´t migrate very well. Apparently they all migrate, but the sub-categories are all like superior category level. They lost the virtuemart 1 order, it´s normal?
Could you describe step by step what did you do?