Clear feed hashes if the expire setting changes
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2858825. --> Reported by: [mfernea](https://www.drupal.org/user/1688824) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>We have a feed with 2 items one 1 month old and one 6 months old.<br> "Discard items older than" is set to "3 months and 3 weeks".<br> This keeps only one item in the db.<br> I change "Discard items older than" to Never and update the feed items.</p> <p>Expected outcome: I have 2 items<br> Outcome: I have only 1 item</p> <p>This is due to the fact that the feed hasn't changed and "if ($has_new_content)" condition is not met, hence the items are not imported again.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>The hash should be based on the "Discard items older than" value too.</p>
issue