Skip to content

Fix error in tools:unlink-creators - #2416

Merged
anvit merged 1 commit into
artefactual:qa/2.xfrom
danloveg:dev/issue-2414-unlink-creators-failing
Sep 22, 2026
Merged

anvit merged 1 commit into
artefactual:qa/2.xfrom
danloveg:dev/issue-2414-unlink-creators-failing

Conversation

@danloveg

Copy link
Copy Markdown
Contributor

Closes #2414

The tools:unlink-creators command was failing because the app_i18n_languages setting was not set. This is a setting that comes from the database, and must explicitly be loaded when a CLI task runs. Switching the inherited class from sfBaseTask to arBaseTask and calling that class's execute() function loads the settings and fixes the bug.

The tools:unlink-creator command was failing because app_i18n_languages
was not set. This is a setting that comes from the Qubit settings, and
must explicitly be loaded. The arBaseTask's execute() function loads the
settings, which fixes the bug.
@sarah-mason sarah-mason added the Community Pull requests that have been contributed from community members outside Artefactual label Sep 1, 2026

@anvit anvit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @danloveg

@anvit
anvit merged commit a4d265e into artefactual:qa/2.x Sep 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Pull requests that have been contributed from community members outside Artefactual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: Unlinking creators can fail sometimes in AtoM 2.9+

3 participants