Yii 1.1.14 - File Validation

Problem appeared after framework updating to v1.1.14. I can’t upload image, it always says that “image can not be empty”.




public function rules(){

        return array(

            array('image', 'file', 'maxSize'=>$this->getFileMaxSize(), 'maxFiles'=>$this->getMaxFiles(), 'types'=>$this->getAvailableTypes(), 'allowEmpty'=>false, 'safe'=>true, 'on'=>'insert'),

        );

    }

If you’re sure that it does’t work with 1.1.13 please report to github. A minimal application example would be handy to speed things up when solving the issue. Thanks.