Git Product home page Git Product logo

Comments (5)

wagnert avatar wagnert commented on May 25, 2024

Hi @amenk, I think we would need something like a reorganization of the URL rewrites that exactly executes the SQL statement you defined above. For example an additional command that runs the reorganization like vendor/bin/import-cli-simple import:products:url:reorg . Does that make sense for you?

from import.

amenk avatar amenk commented on May 25, 2024

@wagnert The problem is a bit that I do not know were the orphan rewrites come from. It might be due to past deletes via Pacemaker, in this case, would the URL rewrites be deleted as well? We have a custom job here, and might be missing the delete-rewrite-flag

from import.

wagnert avatar wagnert commented on May 25, 2024

@amenk I think neither Pacemaker during product deletion nor deleting a product in the Magento Admin will delete the URL rewrites. I do not validate this, but this may be the origin of your problem.

from import.

amenk avatar amenk commented on May 25, 2024

Hm okay, we should validate that :)

from import.

kenza-ya avatar kenza-ya commented on May 25, 2024

After testing, it has been fixed on 4.0.0 version already.

The two cleanups observers were built to fix this problem
"import_category.observer.clear.url.rewrite"
"import_product_url_rewrite.observer.clear.url.rewrite"

from import.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.