- πΊπΈUnited States jrglasgow Idaho
I have been working with this patch in production since March. This morning I found a bug where on the Taxonomy Vocalubary Overview page ( /admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview ) the expected Local Action Link "Add term" wasn't appearing on the page... in my investigations I saw that in GroupTaxonomyVocabularyRouteProvider we were pointing entity.taxonomy_vocabulary.canonical to entity.taxonomy_vocabulary.overview_form, which means that the Router, when doing a route match to see if there are any action links for the block, gets entity.taxonomy_vocabulary.canonical instead of entity.taxonomy_vocabulary.overview_form. I added entity.taxonomy_vocabulary.canonical to the list of routes for the action link to appear on.
updated patch attached
- πΊπΈUnited States adriancotter
Hey jrglasgow thanks for the work on this.
If I am reading the thread correctly... if one is updating to Drupal 10
one needs to use this patch 3331610-9-support-group-2.x.patch (or an earlier one?)And then once updated, remove that patch and use group_taxonomy-3232198-10.patch?
I am running into the TypeError: Drupal\Core\Entity\Sql\DefaultTableMapping error that you mention in #6, but struggling to get around it...
Thanks for any advice!
- πΊπΈUnited States electrokate
Confirming that the patch 3331610-7-group-src-Field-GroupContentReferenceDefinition.patch fixes this error
The script tried to call a method on an incomplete object. Please ensure that the class definition "Drupal\group\Field\GroupContentReferenceDefinition" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in field_purge_batch() (line 81 of core/modules/field/field.purge.inc)
that arises on a cron run after upgrading to group 2.0
Thank you very much!
- First commit to issue fork.
- π³π±Netherlands arantxio Dordrecht
I am currently upgrading one of our sites to Group 2, and we kept seeing this warning.
Deprecated: Creation of dynamic property Drupal\group_taxonomy\GroupTaxonomyService::$db is deprecated in /var/www/html/web/modules/contrib/group_taxonomy/src/GroupTaxonomyService.php on line 82
The changes pushed should fix the error.
So far most of the stuff seems to be working that has to do with the patch. I will keep working on code on our side and if all goes well I'll leave feedback on this issue.