I think you didn't defined any entry point.
Maybe it was setted up, and you deleted the concerned layout defined as 'Entry point'.
But, tell me ...
From where do you call this layout ?
Which menu ?
- Admin menu ?
- Sandbox menu ?
- Task (New-Edit) ?
Because the layout alias MUST always be present in the url for item layout.
Except for the task toolbar, and you should set it in your controller, her a basic example :
function new_()
{
if (!$this->can('core.create', JText::_("DEMO120_TASK_NEW")))
return;
$vars = array();
JRequest::setVar( 'cid', 0 );
JRequest::setVar( 'view' , 'client');
JRequest::setVar( 'layout', 'client' ); // <- HERE
$this->setRedirect(Demo120Helper::urlRequest($vars));
}
function edit()
{
if (!$this->can('core.edit', JText::_("DEMO120_TASK_EDIT")))
return;
$vars = array();
JRequest::setVar( 'view' , 'client');
JRequest::setVar( 'layout', 'client' ); // <- HERE
$this->setRedirect(Demo120Helper::urlRequest($vars));
}