akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
88 stars 89 forks source link

Category URL rewrite generation does not create URL rewrite after category moving in a tree from one parent to another #701

Open evgv opened 4 months ago

evgv commented 4 months ago

Category URL rewrite generation does not create URL rewrite after category moving in a tree from one parent to another, the original Magento code has this functionality (observer event catalog_category_move_after).

I would be great to have this functionality here too.

Environment and configuration

  1. Magento 2.4.6-p3
  2. Akeneo 7.0
  3. Maria DB 10.6
  4. PHP 8.1
  5. Akeneo Connecto 104

Steps to reproduce

  1. Move category with subcategories to another parent category
  2. Run categories import

Expected result

  1. The moved category in Akeneo and all subcategories of it has new URL and new record in URL rewrites from old seo URLs (this cat and it's subs) to new seo URLs

Actual result

  1. The moved categories have new URLs and old URLs doesn't exists anymore (SEO issues) as well as rewrites from old to new