Comments (5)
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.
@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.
@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.
Hm okay, we should validate that :)
from import.
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)
- Interrupt rendering of validation errors up from a configurable number
- Slash in category name HOT 9
- Extract functionality to clean-up empty columns from AbstractOberserver::mergeEntity() method HOT 2
- Refactor PAC-96 image override option
- Mandatory ok file on import:products:price
- Clean-up-empty-columns not work on EAV attributes not serialized in addtional_attributes
- Disable the stock observer on the fly if there are no columns defined that are related to stock. HOT 5
- Call to undefined method TechDivision\Import\Product\UrlRewrite\Services\ProductUrlRewriteProcessor::removeUrlRewrite() HOT 2
- Empty .OK file results in error message
- Change default import directory from var/importexport to var/pacemaker/import
- GLOB_BRACE is not available on Alpine Linux HOT 5
- Add support for NativeMailerHandler
- "Integrity constraint violation: 1048 Column 'entity_id' cannot be null" while importing products HOT 9
- Importing files with CRLF line endings leads to unexpected results HOT 2
- Stricter validation of column 'categories' in product import
- Attribute set group sortorder is not taken into consideration HOT 1
- Attribute visual swatch unable to render properly HOT 2
- Add functionality to pass an exit code when stopping the application HOT 11
- Properly support slashes in Category names HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import.