There is actually a better fix for it: stop using the attribute to pass the option to the view, as it is not needed since Symfony 2.1 (the options are now available in buildView)