Updating to 2.4 from a previous version breaks the feedback form until feedback_allow_cancel is set
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3344132. -->
Reported by: [jenna.tollerson](https://www.drupal.org/user/147099)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When updating from a previous version to 2.4, the new "Enable vote cancellation" option is not set. Because the feedback form javascript expects a value, trying to submit "yes" or no" produces a javascript error, and the end user can't continue.</p>
<pre>admin_feedback.js?v=1.x:19 Uncaught TypeError: Cannot read properties of null (reading 'active')
at HTMLInputElement.<anonymous> (admin_feedback.js?v=1.x:19:86)
at HTMLInputElement.dispatch (jquery.min.js?v=3.6.3:2:43336)
at y.handle (jquery.min.js?v=3.6.3:2:41320)</anonymous></pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>On a site with version 2.3 (or older) installed, update to 2.4.</li>
<li>Visit a page with the feedback form block.</li>
<li>Choose the yes option. The additional text box or options will not appear.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add an update hook that sets the default values for these options.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Patch incoming.</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>None</p>
<h3 id="summary-api-changes">API changes</h3>
<p>None</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None</p>
issue