property requestedView controller and id property read-only - it canot be defined,
property view is predefined (it can`t be defined because)
public function run()
{
$this->resolveView($this->getRequestedView());
EDIT
public function getRequestedView()
{
if($this->_viewPath===null)
{
if(!empty($_GET[$this->viewParam]))
$this->_viewPath=$_GET[$this->viewParam];
else
$this->_viewPath=$this->defaultView;
}
return $this->_viewPath;
}
protected function resolveView($viewPath)
{
if(preg_match('/^\w[\w\.\-]*$/',$viewPath))
{
$view=strtr($viewPath,'.','/');
if(!empty($this->basePath))
$view=$this->basePath.'/'.$view;
if($this->getController()->getViewFile($view)!==false)
{
$this->view=$view;
return;
}
}
throw new CHttpException(404,Yii::t('yii','The requested view "{name}" was not found.',
array('{name}'=>$viewPath)));
}
public $view is actually public $defaultView => that is bug
if $viewParam is defined that becomes view => that is bug
iv`e tested all