🇺🇸United States @bburch

Account created on 6 October 2008, about 16 years ago
#

Recent comments

🇺🇸United States bburch

Similarly, when upgrading from ECA 1.1 to 2, I ran updatedb. When the system tried to run the update "eca_post_update_rename_tokens_2_0_0", there was an error: The "node_assign_owner_action" plugin does not exist.

I wasn't using the "change the author of content" action that is in ECA 1.1, but I'm guessing it's used by the core module Actions UI. I'm hesitant to mess with core, so I'm just going to wait until the Drupal 11 release scheduled for July 29, when the deprecated Actions UI module is to be removed from core. Then I'm going to re-run drush updatedb and drush eca:update, and see if the problem is resolved.

🇺🇸United States bburch

Got it working -- our mistake:

In the “extra” “patches” section of the composer.json file, we had the array key as “drupal/eca”.
But we aren’t patching the ECA module, we’re patching core. So, it should be:

"drupal/core": {
"fix ECA workflow transitions": "./patches/eca-3599.patch"
}

🇺🇸United States bburch

I tried to apply a diff based on the current MR to Drupal 10.2.2, and the patch doesn’t apply.

Where can I get a patch that will apply to the current release version of Drupal core?

🇺🇸United States bburch

I tried a 3-4 different methods proposed in the Chosen doc., this thread, and issue #3102250.
Google's Bard LLM came up with the winning approach.
ALL HAIL THE ALGORITHM! And the person(s) whose work it copied.

1. Install the plugin:
composer require oomphinc/composer-installers-extender

2. Configure composer.json by adding the Chosen library under the "require" section:
"require": {
"jjj/chosen": "^2.2"
}

Add an extra section with an installer-paths configuration:
"extra": {
"installer-paths": {
"web/libraries/chosen": [
"jjj/chosen"
]
}
}

3. Run Composer update:
composer update

4. Enable the module:
Navigate to Administration > Extensions.
Search for "Chosen" and enable the "Chosen Library" module.

🇺🇸United States bburch

nice way to handle the role junk without scripting!

Production build 0.71.5 2024