[view] fix missing ObjectDoesNotExist