- Issue created by @classiccut
- π²πΎMalaysia muaz91 MY
Having the same problem. the code provided fix the problem.
I have the same issue, but I am not as experienced with coding. Could you tell me where you added this code to resolve the issue?
- π²πΎMalaysia muaz91 MY
see related issue comment #4 here https://www.drupal.org/project/group/issues/3487012#comment-15905538 π Uninstall module page not working Active
- πΊπΈUnited States j-barnes
Attaching patch with update hook that we used to fix the issue.
- Merge request !210Issue #3494298: Added hook for group_content_type error. β (Closed) created by j-barnes
- First commit to issue fork.
- π¨π¦Canada classiccut
@jbuttler I placed that code in an update hook in one of my custom modules. I suppose you could also run the same code throught drush php:cli
- πΊπΈUnited States ljwilson
kristiaanvandeneynde β credited ljwilson β .
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Adding credit from π Uninstall module page not working Active
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Assigning credit to @classiccut for correctly identifying the problem and offering a solution.
For this to get committed, we need to update the update path test to prove the fix works. Setting to NW for that, but that should be rather easy to test for. I can take care of that either tomorrow or next week I hope.
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
kristiaanvandeneynde β changed the visibility of the branch 3494298- to hidden.
- Merge request !215Resolve #3494298 "Fix type base field" β (Merged) created by kristiaanvandeneynde
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
This seems to fix it. I was contemplating updating all ER fields pointing to group_content_type just like we do with ER fields pointing to group_content, but I'm a bit on the fence as you really shouldn't be creating ER fields pointing to that entity type.
There's a reason the label is: "INTERNAL USE ONLY -- @group_type -- @plugin"
-
kristiaanvandeneynde β
committed 920a20f9 on 3.3.x
Issue #3494298 by classiccut, ljwilson: The "group_content_type" entity...
-
kristiaanvandeneynde β
committed 920a20f9 on 3.3.x
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Gonna go ahead and release this soon as this is quite a major obstacle to upgrading from v2.
- Status changed to Fixed
13 days ago 3:12pm 19 February 2025 - π¨π¦Canada classiccut
This is great! Thanks so much for all the hard work.