Add content entity cache tags to auto-saves/pending endpoint
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3588546. --> Reported by: [f.mazeikis](https://www.drupal.org/user/3513671) Related to !1057 >>> <h3 id="overview">Overview</h3> <p>Currently when returning content entities such as Page from auto-saves/pending endpoint cache tags are missing. Let's fix that.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Add <code>enforceIsNew(FALSE)</code> call when creating new entity in <code>AutoSaveManager::getAllAutoSaveList()</code> and update tests accordingly.</p> <h3 id="ui-changes">User interface changes</h3> <p>None.</p> > Related issue: [Issue #3587587](https://www.drupal.org/node/3587587)
issue