Added ValidationError code to the list.views