Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Dynamic entity reference error when adding non-existing taxonomy terms to fields #568

Open
schnydszch opened this issue Nov 3, 2020 · 2 comments
Labels

Comments

@schnydszch
Copy link

I am having a problem with my Drupal installation utilizing GovCMS8 distribution. It is Drupal 8.8.1 installed in Ubuntu 18.x. I have a field with field setting "dynamic reference type for taxonomy term" and "Create referenced entities if they don't already exist" is checked. When adding content and filling up the aforementioned field, I am getting this error message: "The referenced entity (taxonomy_term: term here) does not exist. What could be the problem? And how do I troubleshoot on this? It seems there is a problem with the autocomplete widget? Please advise. Thanks!

@schnydszch
Copy link
Author

schnydszch commented Nov 4, 2020

Upon further checking this, it seems I am getting the error message when there is a parenthesis in my taxonomy term like this term: Education, Department of (DepEd) since the error I am getting is like this: "The referenced entity (taxonomy_term: DepEd) does not exist." Upon further checking Drupal, it indeed is a bug: https://www.drupal.org/project/drupal/issues/2924783

@thisisalistairsaccount
Copy link

Hi @schnydszch it does look like the bug you've spotted and looks as thought it may be an issue at Drupal Core.

Just noting your Drupal version indicated, it does seem as though if you are using our GovCMS distro, that you may be a few releases behind. Our current GovCMS release utilises Drupal Core 8.9.7. I'd recommend reviewing your current release and upgrading, to cover more recent patches and security updates.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants