Issue #2910005 by catch, samuel.mortenson: JavaScript errors thrown when viewing non-latest default revision of entity