Error when reinstalling after creating CCC taxonomy terms
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3568177. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> <strong>Blocked by: </strong>[#XXXXXX] (New issues on new lines)<br> <strong>Additional Collaborators: </strong> @username1, @username2<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Noticed this error while testing:</p> <p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_context/issues/3563089" title="Status: Closed (fixed)">#3563089: Add revision comparison diff support for context item revisions</a></span></p> <p><code>Configuration objects (taxonomy.vocabulary.ai_context_tags) provided by ai_context already exist in active configuration</code></p> <p><strong>Steps to reproduce</strong></p> <ul> <li>Install module</li> <li>Add context items</li> <li>Add vocabulary terms</li> <li>Try to uninstall module</li> <li>Shows that there are context items to be removed</li> <li>Remove them</li> <li>Try to uninstall module which works</li> <li>Try to install module and get error</li> </ul> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Error should happen when trying to uninstall and then the install should work once the terms are gone</p> <h3 id="summary-remaining-tasks">Target date or deadline</h3> <p>January 2026</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Update code</li> <li>Test and review</li> </ul> <h3 id="summary-ai-usage">AI usage (if applicable)</h3> <p>[ ] AI Assisted Issue<br> This issue was generated with AI assistance, but was reviewed and refined by the creator.</p> <p>[ ] AI Assisted Code<br> This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p> <p>[x] AI Generated Code<br> This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p> <p>[ ] Vibe Coded<br> This code was generated by an AI and has only been functionally tested.</p>
issue