#1075: Fatal error in AgaviArrayPathDefinition::setValue() in combination with
arrays
--------------------+-------------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.1
Component: util | Version: 1.0.0
Severity: normal | Keywords:
Has_patch: 0 |
--------------------+-------------------------------------------------------
Reproduce example:
{{{
#!php
<?php
$values = array();
AgaviArrayPathDefinition::setValue('foo', $values, 'bar');
AgaviArrayPathDefinition::setValue('foo[bar]', $values, 'baz');
}}}
will result in a fatal error.
Expected behavior is that "foo" is initialized to an empty array in the
second call, and "bar" gets set into key "bar".
--
Ticket URL: <http://trac.agavi.org/ticket/1075>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets