I am using Drupal views to display grid of contents. I've a very strange issue, I've built a view and used "Grid" Format to display 3 column content. I am showing Content with Teaser view.

Now with Teaser view, it should render node.html.twig for each node rendered. It is working Ok as usual. But, regularly it's broken and the node is displayed by field templates (THEME HOOK: 'field') instead (THEME HOOK: 'node'), there's no "node.html.twig" html called.

If I clear cache, everything is back! So, I'm not getting what it's that breaks the view regularly.

This is causing issues since we use <article> tag in the node.html.twig to apply CSS changes. When view is broken, there's no <article> tag :(

Attached screenshot for both cases.

CommentFileSizeAuthor
Working_OK.png227.57 KBsajalsoni
Broken_Grid_Format.png1.05 MBsajalsoni

Comments

sajalsoni created an issue. See original summary.

sajalsoni’s picture

Title: Views module, Grid view broken regularly » Views module, Grid format broken regularly
sajalsoni’s picture

Issue summary: View changes

Version: 8.5.3 » 8.5.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.5.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
quietone’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Bug Smash Initiative

@sajalsoni, I know it has been a while. Did you find the cause of the problem? If so, add a comment as it may help others.

To take this further, can you provide complete steps to reproduce the issue (starting from "Install Drupal core").

Thanks!

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Since steps to reproduce the issue have not been provided since the issue was postponed 9 months. I'm marking the issue "Closed (cannot reproduce)".

If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active" [or "Needs Work" if it has a patch, etc.].