- Issue created by @tsjobom
- Status changed to Postponed: needs info
about 1 year ago 8:45pm 14 March 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
IS this the same issue as π Entity hierarchy checks field exists on entity but not bundle Active ?
Maybe related? The stack trace is different though. Here's my stack trace if it helps:
#0 /home/find/public_html/eyn/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php(597): Drupal\Core\Entity\ContentEntityBase->getTranslatedField('field_business_...', 'x-default')
#1 /home/find/public_html/eyn/web/modules/contrib/entity_hierarchy/src/Storage/QueryBuilder.php(102): Drupal\Core\Entity\ContentEntityBase->get('field_business_...')
#2 /home/find/public_html/eyn/web/modules/contrib/entity_hierarchy/src/Information/ChildEntityWarningBuilder.php(62): Drupal\entity_hierarchy\Storage\QueryBuilder->findParent(Object(Drupal\node\Entity\Node))
#3 /home/find/public_html/eyn/web/modules/contrib/entity_hierarchy/entity_hierarchy.module(83): Drupal\entity_hierarchy\Information\ChildEntityWarningBuilder->buildChildEntityWarnings(Object(Drupal\node\Entity\Node))
#4 /home/find/public_html/eyn/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(545): entity_hierarchy_form_alter(Array, Object(Drupal\Core\Form\FormState), 'node_business_m...')- Status changed to Closed: duplicate
about 1 year ago 8:03pm 5 April 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Yep, the stack trace in the other issue is from a test fail, but the MR fixes the code-path you've mentioned.
Would be good to get a test for the other issue and get it in.