Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Ability to skip product url rewrite processing #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fazed
Copy link
Contributor

@fazed fazed commented Sep 20, 2024

Hi,

This PR adds the ability to skip URL rewrite processing when saving products.

My current use-case is having issues when updating product information when no category information is passed to the product data object. This causes the url rewrite processor to throw exceptions, in my case it throws a duplicate primary key constraint.

There might be a deeper issue here, namely its trying to insert already existing entries into the catalog_url_rewrite_product_category table. This is probably caused by the lack of information given in the passed product data object and its url rewrite diff fails causing existing rewrites to be returned - and inserted. I have not tested this theory since adding a skip configuration option circumvents this issue altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant