Quantcast
Viewing all articles
Browse latest Browse all 296340

Node Revision page for non-existing revision returns fatal error, should be 404

Node Revision page for non-existing revision returns fatal error such as "TypeError: Argument 1 passed to Drupal\Core\Entity\EntityViewBuilder::view() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /Applications/MAMP/htdocs/drupal-8.9/core/modules/node/node.module on line 688 in Drupal\Core\Entity\EntityViewBuilder->view() (line 133 of /Applications/MAMP/htdocs/drupal-8.9/core/lib/Drupal/Core/Entity/EntityViewBuilder.php)"

steps to reproduce
1. Delete all node revisions
2. Update some node's it will add new revisions
3. Visit old revisions.


Viewing all articles
Browse latest Browse all 296340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>