Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Pending Public Category: Technical Support / Bugs Ticket #927

VirtueMart migrator creates invalid Joomla assets

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

J2Commerce

Version
J2Commerce v6

Conversation

Krzysztof Kuznowicz

The com_j2commercemigrator extension migrates VirtueMart products and categories, but some created records in #__content and #__categories receive:

asset_id = 0

The products are visible after migration, but they cannot be edited or saved correctly. Joomla requires every article and category to have a corresponding record in #__assets. Because these records are missing or have an invalid hierarchy, saving migrated content can produce Asset::moveByReference() errors.

The problem required manual database repair: creating the missing assets, correcting their parent_id, lft, rgt and level values, and assigning valid asset IDs back to the migrated articles and categories.

The migrator should create a valid Joomla asset for every migrated product and category and verify that no migrated record remains with asset_id = 0.

Adam Melcher Staff

Krzysztof,

I am looking at it now and should have an update on it shortly.

 

Adam