Issue #3045384 by mxr576, yogeshmpawar, amateescu: Fix incorrect assumption that all entity are revisionable (cherry picked from commit 2a0c532a)