K2 to Joomla migration failed for large items
Hi
Any updates on this? you can try it on normal k2 install as well if needed.
Migration will give same issue.
Thank you
- Edited
Hi, crossi10
I am sorry for late. It takes me time to complete some custom code and update the performance of this plugin for your case.
So I have some notes:
- The migration action will show joomla warning:
Another article from this category has the same alias (remember it may be a trashed item)
when you have k2 items with the same alias and assigned category. - The alias can be the same follows a joomla condiotion: same alias in different categories.
As I checked in your database, in a table: #__k2_items
with ~ 151 records, it showed me some k2 items had the same alias in the same category:
So I wrote some code to make it work through as your requirements. Currently, the k2 items migration flow likes:
- if k2 items has same alias but different assigned category, the alias won't be changed
- otherwise, the alias will be changed to avoid joomla catch error
and will be migrated into joomla content.
I have attached the plugin.zip below, it may take you to run 2-3 times in order to migrate all the k2 items without the errors now. The plugin is still under improvement so you kindly be patience.
Regards,
Vanhs
vangogh
Hi
Some more bugs with above package
Custom fields value is not inserted from K2 to Joomla articles.
Custom fields added but value always empty.
There is 404 error show after some articles imported. if i start again its adding the duplicate items.
Can u fix all and send the package asap? @manhta @saguaros
- Edited
Could you tell the duplicated items and share me the URL of these 404 pages so I can check?
Could you share the FTP account as well?