[Views] Don't crash when obj_id is not an integer.
Merge pull request #289 from BertrandBordage/stable/2.4.x

[Views] Don't crash when obj_id is not an integer.