Closed (fixed)
Project:
Termcase
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2021 at 07:48 UTC
Updated:
12 Mar 2024 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
megha_kundar commentedComment #3
megha_kundar commentedComment #4
megha_kundar commentedComment #5
vikashsoni commented@Megha_kundar Patch applied successfully
Thanks for the patch
Comment #6
dabley commentedPatch #3 works ok for me (with D9.3.2). It solves a problem we encountered after migrating to D9 (deprecated "getVocabularyId()" method).
Comment #7
dabley commentedI find that patch #3 no longer applies successfully to D9.4.5. This is because the changes to fix point (2) are now already present. (Issue #3259542: Call to undefined method Drupal\taxonomy\Entity\Term::getVocabularyId() in termcase_taxonomy_term_presave() (line 151 is a duplicate of this point.)
The definition of function "_termcase_vocabulary_termcase() (point (1)) is not present (without the patch). However, from a quick test, I was not able to find a use-case where the absence of this function causes a problem (i.e. it seems that function termcase_form_taxonomy_form_term_alter does not get called.).
Can anyone else find a scenario where point 1 causes a problem?
I suggest that this issue is flagged as "Fixed", because the module is now D9 compatible. If there's a problem with the _termcase_vocabulary_termcase function, then that's not a D9 compatibility matter, and a separate issue ought to be raised about that.
Comment #8
dabley commentedI've updated the issue title to reflect the outstanding problem more accurately.
Comment #9
dabley commentedComment #13
astonvictor commentedthanks for the patch.
Merged it for now. other fixes will be added to other issues.