Skip to content

Fix error in tools:unlink-creators - #2416

Open
danloveg wants to merge 1 commit into
artefactual:qa/2.xfrom
danloveg:dev/issue-2414-unlink-creators-failing
Open

Fix error in tools:unlink-creators#2416
danloveg wants to merge 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem: Unlinking creators can fail sometimes in AtoM 2.9+

1 participant