Redirects and Drupal cache
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3365428. -->
Reported by: [marco aurelio rocca](https://www.drupal.org/user/1140470)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I have ECA enabled in a zero-new Drupal 9.5.9 installation. Created a Model that will redirect or not to somewhere, upon calling a Vocabulary's TERM page, depending on some criterion tied to the TERM entity. Things work as expected... ONCE. After that, reloading page does not help. Only a CLEAR CACHE will make it work again... for once.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>- zeroed Drupal installation, 9.5.9, PHP 8.0.26<br>
- ECA + BPMN.io enabled<br>
- create a taxonomy Vocabulary "X", with a LINK field "Y" as custom field to each Term Entity to be created<br>
- insert 2 Terms, one with the LINK field filled, other with that field empty<br>
- create ECA Model that will:<br>
-1 be triggerd by View Content Entity, Type = Taxonomy Term, Any<br>
-2 ask whether Bundle = X<br>
-3 ask whether Field "Y" Is Not Empty<br>
-4 redirect to the Link filled in the non-empty field of the Term.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>...??</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>--</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>--</p>
<h3 id="summary-api-changes">API changes</h3>
<p>--</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue