- 🇷🇺Russia walkingdexter
@berdir Thanks for the issue!
@gbyte I think the whole code in
\Drupal\simple_sitemap\Manager\EntityManager::setBundleSettings()
after$bundle_settings->save();
should be removed.- There is no reason to delete entity overrides in case bundle indexation is disabled. User can re-enable bundle indexation and overrides will be needed again.
- There is no reason to delete entity overrides which are identical to new bundle settings. User can change bundle settings and overrides will be needed again.
We also have a potential performance problem with
\Drupal\simple_sitemap\Manager\EntityManager::removeBundleSettings()
but this is a rare case. Also this shouldn't be a problem after closing #3034070: Store entity instance settings as fields on entity → .