- πΊπΈUnited States NicholasS
This bit me with Google Tag and Require login modules would love to find a fix for this as well.
- πΊπΈUnited States loze Los Angeles
I was hit by this too with google_tag.
In this module
context_entity_field_plugin_filter_condition_alter
unsets the definitions forcontext_entity_field
contexts when they are being displayed the block_ui and layout builder. However other modules using conditions have them displayed.
There is a comment// Keep within the Context UI only.
but obviously this is not sufficient.I see two possible solutions.
1. Improve the check for keeping these conditions in the context UI only (which appears to be the intent of this module)
or if we want to use these context plugins outside of the context module.
2. possibly provide an "enabled" checkbox for each field context that would prevent the plugins config from being saved if its unchecked. - Merge request !5Issue #3279400 Exclude context_entity_field plugins everywhere outside of context_ui β (Open) created by loze
- Status changed to Needs review
4 months ago 3:01am 5 August 2024 - πΊπΈUnited States loze Los Angeles
MR!5 is a simple fix does option 1 I propsed above.
It excludes the context from any form other than the context UI.
You will still need to go in and edit any configs manually that were effected by this bug (like google_tag) and remove the unwanted contexts. You will then be able to use the UI to edit the config moving forward.
- Status changed to Needs work
about 1 month ago 11:56am 11 October 2024 - πΉπThailand AlfTheCat
I applied the patch from MR 5 but in my case it didn't solve the problem. The conditions appear in my CSS injector UI and they are pre-selected with the first field in the list.
It excludes the plugins created by this module from any form other than the context UI.
is not what's happening in my case.
I'm on the 2.x branch, could that be the issue?
- πΉπThailand AlfTheCat
This is causing a major issue for me, as selection rules on all my asset injectors are no longer functional.
I can't uninstall the module because I can't disable the selection rules provided by this module.
I get a WSOD if I try:
The website encountered an unexpected error. Try again later. Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_field:node" plugin does not exist.
Any tips on how I can get rid of the module?