Duplicate update 10307

Created on 4 November 2025, 10 days ago

Problem/Motivation

The update hook 10307 is duplicated, it exists in branch 1.1.x and 1.2.x but with different code inside, see https://git.drupalcode.org/project/ai_agents/-/blob/1.1.x/ai_agents.inst... and https://git.drupalcode.org/project/ai_agents/-/blob/1.2.x/ai_agents.inst... . This leads to the problem that when updating from latest 1.1.x version to 1.2.0 and higher, the required moduler_api module is not being installed and because of this it seems that AI Agents have lost the UI, as without moduler_api there is no way to edit/create agents in admin UI.

Steps to reproduce

  1. Install AI Agents in latest 1.1.3 version, or any previous version and update to 1.1.3.
  2. Run updb commands.
  3. Update module to 1.2.0
  4. Run updb commands - observe that there is nothing to update.
  5. Observe that moduler_api is not installed

Proposed resolution

Increment the update hook number and re-run the update 10307 as in version 1.2.x the update hook from 1.1.x was also not run.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇩🇪Germany a.dmitriiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024