Closed (fixed)
Project:
Field Group
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Jun 2020 at 18:20 UTC
Updated:
9 Feb 2026 at 21:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shreyal999 commentedCreated patch to update the dependency
Comment #3
shreyal999 commentedComment #4
klemendev commentedStatus page warning should be removed in this case too, this patch does not cover this.
Comment #5
karlsheaThere's an issue in core for this too: #3056089: Provide a new render element for accordion
Comment #6
jwilson3Regarding #4, yes! This warning message is very annoying and it bothers non-technical website stakeholders who are not Drupal experts to see a "warning" when there is no practical way to fix it. We even considered enabling the jquery ui accordion module as a way to make the error go away, before diving into the code to figure out what this was all about.
Essentially we searched our config YAML files for instances of field_group, and instances of format_type, looking for "accordion" and found no mention of that. Enabling the module should really only be needed by websites that are actually using the accordion.
I see several ways to resolve this:
I favor option #1 the best, because it is the least amount of code changes and testing required, and would satisfy the behavior for the majority of folks here who are not using the accordion anywhere. However, the most correct solution would be to combine both #1 and #2 together... i.e. make it an INFO by default, and change it to a WARNING if fields are found that utilize the accordion type.
For bonus points and even more correctness the module should be showing this warning on the Manage Fields screen as soon as someone tries to select the accordion type for a field group without the module being enabled.
Comment #7
jwilson3This patch handles comment #4 and #6.1
Comment #8
jwilson3Comment #9
damienmckennaWhile these could be split up, it's a valid fix for D9 compatibility.
Comment #10
ethomas08 commentedRe-rolled for Drupal 9.2.13 using field_group 8.x-3.2 release.
Comment #11
ethomas08 commentedWrong patch before. Adding correct one.
Comment #12
ethomas08 commentedComment #13
anybodyHi, just saw Damien set this RTBC in february, what's the plan here to proceed from maintainer side?
Is this planned to be committed or to wait for #3056089: Provide a new render element for accordion?
Comment #14
klemendev commentedThis is RTBC for a while now, and we are using the patch in production without issues. Any plans to get this into a stable release?
Comment #15
bygeoffthompson commented+1 for a stable release. The patch from #11 works as expected on my Drupal 9 websites
Comment #17
nils.destoop commentedThx for the patch, this has been committed to the dev
Comment #18
joelpittetSweet! Thanks for committing this, I was about to create this issue
Comment #19
scotwith1tAnother +1 for a new stable release which includes this. Thanks!
Comment #21
jwilson3Yes. Please a stable release. I feel like many including myself have been on 3.x-dev on production for a while now.
Comment #22
berdirNote: The patch here was actually incorrect/incomplete. This did not consider field_group_library_info_alter() which did already dynamically change or remove that dependency.
Comment #23
rkelbel48 commentedThis is an old issue, but I am still seeing this dependency as a warning in my site since adding Field Group.
Is there a plan to remove this dependency altogether so we can stop seeing this warning in our Site Status Report?