Closed (fixed)
Project:
Entity Autocomplete Suggestions
Version:
8.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Jul 2021 at 16:25 UTC
Updated:
15 Aug 2021 at 20:43 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
rajkumar7it74 commentedHi @berramou,
I have followed steps mentioned. I am not able to reproduce the error. Please give more steps to reproduce.
Please see my screenshots attached.
Thanks
Comment #3
berramou commentedHello @rajkumar7it74
Thank you for you quick reply!
I know the reason why, because autocomplete suggest all terms of all vocabulary and when you choose another vocabulary other than the one selected for your field cause that issue here is an example with Drupal 9.2.2 fresh install
in article add form i get this

The tags field accept only Tags vocabulary so if i choose Type 1 for example and try to save i get the error:

I don't know if this issue related to this module or core !
Comment #4
berramou commentedYes this issue caused by this module, because when i disable it i get only Tags vocabulary suggested!

Comment #5
berramou commentedCan you please review this patch!
Comment #6
rajkumar7it74 commentedHi @berramou,
"entity_autocomplete_suggestions_3225707-5.patch" Patch looks good and working fine.
Thanks for patch.
Comment #7
berramou commentedYou are welcome @rajkumar7it74
you tested it with Drupal 8 ? i made this patch for Drupal 9.2.2, if it's working can you commit it and create new release please !
Thank you again !
Comment #8
rajkumar7it74 commentedHi @berramou,
I have validated this patch with Drupal 8 version 8.9.17. The patch is working fine.
I'll release new version with this patch.
Thanks
Comment #9
berramou commentedOkay cool,
can you commit it with the issue commit message !
thank you !
Comment #10
rajkumar7it74 commentedHi @berramou,
New version 8.x-2.3 released with this patch fix.
Thanks
Comment #11
berramou commentedThank you @rajkumar7it74 !
Comment #12
berramou commented