#1314: AgaviExecutionFilter throws PHP warning if slots request parameter is an
array
----------------------------------+-----------------------------------------
Reporter: agavi....@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4
Component: filter | Version: 1.0.3
Severity: normal | Keywords:
Has_patch: 0 |
----------------------------------+-----------------------------------------
If slot parameters are supplied directly into a slot container,
AgaviExecutionFilter catches a '''Warning: base64_encode() expects
parameter 1 to be string, array given''' warning.
Caching is turned on for that parameter. (See attached sample app)
{{{
$this->getLayer('content')->setSlot('cache_me',
$this->createSlotContainer(
'CacheMe',
'MySlot',
array('foo' => array('bar' => 'baz'))
));
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/1314>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets