UnionOfRAD/lithium — Issue #205: Object of class Document could not be converted to string
Author: firemyst
Created: 2011-12-05 02:06:47+00:00
State: open

when view $this->form->create($model, array('type'=>file))
and controller : return compact('model')
and model including validation

on form submit with validation errors, lithium messes with view template rendering and throws and error

Catchable fatal error: Object of class lithium\data\entity\Document could not be converted to
string in /htdocs/libraries/lithium/template/Helper.php on line 197