stefandoorn / sitemap-plugin

Sitemap Plugin for Sylius eCommerce platform
MIT License
79 stars 44 forks source link

Sitemap index will have duplicated sitemap urls if you have more than one channel #208

Closed lruozzi9 closed 2 years ago

lruozzi9 commented 2 years ago

This is due to the SitemapIndexBuilder, the indexProvider::providers array will never be cleared after one channel, so it will continue to add providers to them, this will so generate duplicated references to the same sitemap URL provider.

stefandoorn commented 2 years ago

Hi @lruozzi9 Hasn't this been solved in https://github.com/stefandoorn/sitemap-plugin/pull/198? That should be part of one of the last releases also.

lruozzi9 commented 2 years ago

Whops, it just looks like the same problem! I will try to upgrade the plugin.

lruozzi9 commented 2 years ago

It works! Thanks, @stefandoorn.

stefandoorn commented 2 years ago

Great!