- Issue created by @robbevb
- Status changed to Postponed: needs info
8 months ago 4:15am 16 April 2024 - π³πΏNew Zealand danielveza Brisbane, AU
I'm unable to replicate this issue on a fresh install of D11.
Steps I attempted:
- Install a fresh D11 standard site
- Enable LB
- Add LB to the default view mode of articles
- Added a field called field_test
- Added this field to the teaser layout
- Created a node with content in the field_test field
- Ran the code below in a debugger
- Verified that the correct values were in the render array.
Code ran for testing:
$node = \Drupal\node\Entity\Node::load(1); $field = $node->field_test; $viewBuilder = \Drupal::entityTypeManager()->getViewBuilder('node'); $renderArray = $viewBuilder->viewField($field, 'teaser');
Marking this as postponed as we need steps to reproduce. If this issue isn't updated with steps to reproduce after 3 months it will be a candidate to be closed.
Thanks for raising an issue!
- Status changed to Closed: cannot reproduce
5 months ago 8:50pm 18 July 2024 - π³πΏNew Zealand danielveza Brisbane, AU
No further updates have been made on this issue and it was unable to replicated in the last comment over 3 months ago, so I'm now marking this one as closed. Thanks!