macopedia / magmi-m2

Magmi GitHub, see branch magento2 for a version compatible with Magento 2
113 stars 53 forks source link

Plugin ItemIndexer not working with M2 2.3.6 #91

Open raybog opened 3 years ago

raybog commented 3 years ago

The url_rewrite table is being populated by ItemIndexer in a wrong way resulting M2 ignoring SEO friendly URL key.

Screen Shot 2020-12-24 at 8 15 31 pm

Magmi setting:

[ValueReplacerItemProcessor]
VREP:columnlist = "url_key"
VERP:url_key = "{{ Slugger::slug({item.name}) }}"
[ItemIndexer]
 OTFI:useurlending = "0"
 OTFI:urlending = ".html"
 OTFI:usecatinurl = "1"
[DefaultValuesItemProcessor]
DEFAULT:columnlist = "store,url_rewrite"
DEFAULT:store = "admin,default"
DEFAULT:url_rewrite = "1"
tmotyl commented 3 years ago

@raybog are you able to send a PR fixing the issue?

raybog commented 3 years ago

@tmotyl not sure by when... I have implemented workaround that suits my project at the moment but not sure it is PR ready.

tmotyl commented 3 years ago

please send it and we will see ;)

matteotestoni commented 3 years ago

Hi @raybog, can you send your corrections?