crossi10 Hi

Firstly, pls backup your site and try to install this version:

plg-jak2tocomcontentmigration.zip
39kB

and try to migrate data again.

In case that your site has large number of K2 items, pls run the migration several times.

Regards

    saguaros
    Hi
    The problem is coming with the article alias.
    as we have same article alias in k2 for different cateogries.
    In Joomla it also allowed when u save article in different categoies but in migration the article alias has been changed and not following the original k2 alias.
    example alias : test for 4 items
    it making alias as test1
    test2
    test3 and so on even when the article parent category is not same.

    thank you

      crossi10 Hi

      I comprehend the difficulty in this situation but Joomla articles don't allow using same alias for different articles

        saguaros
        Hi
        it does allow i the category is different and its the case here.
        so the plugin should allow to alias to be inserted as the category is different.

          crossi10 Hi

          I've shared with our developer for further checking on this, do you have Joomla 3 site so we can check there?

            5 days later

            Hi
            Any updates on this? you can try it on normal k2 install as well if needed.
            Migration will give same issue.

            Thank you

              saguaros
              Please put on prior list to make extension ready for large databse with alias bug fix

              Thank you

                7 days later
                2 months later

                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:

                1. 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.
                2. 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.

                ja-k2-migrate.zip
                40kB

                Regards,
                Vanhs

                Hi, crossi10
                If you encounter any issues related to the migration, please do not hesitate to reach out to us for assistance.
                Regards,
                Vanhs

                  5 months later

                  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

                    Hi, crossi10
                    I am currently checking and working on it to make sure it work right. Beside that, when you start again, the process will skip the migrated items.
                    Regards,

                      vangogh
                      any idea when you will able to fix all bugs and share the package?

                      4 days later
                      7 days later

                      crossi10 There is 404 error show after some articles imported. if i start again its adding the duplicate items.

                      Hi

                      When you start to migrate the K2 content again, it will skip the migrated items, could you tell me which are duplicated items and 404 error?

                        12 days later

                        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?

                        Write a Reply...
                        You need to Login to view replies.