#856: Regression in AgaviXmlConfigDomElement::getAgaviParameters()
---------------------+------------------------------------------------------
Reporter: david | Owner: impl
Type: defect | Status: new
Priority: highest | Milestone: 1.0
Component: config | Version: 1.0.0beta1
Severity: blocker | Resolution:
Keywords: | Has_patch: 0
---------------------+------------------------------------------------------
Description changed by david:
Old description:
> It merges recursively, while in 0.11, only the first level or parameters
> was merged.
>
> This was and remans intended behavior, and breaks stuff like SOAP headers
> support when {{{factories.xml}}} contains global header declarations in
> several {{{<configuration>}}} blocks.
>
> [wiki:Cleanup/Configuration/[EMAIL PROTECTED] discusses an additional feature
> where
> users may control merging behavior in {{{<parameter>}}} trees; this
> however would be for a new ticket to cover.
New description:
When doing recursive merges, it now appends numeric keys, like
{{{array_merge()}}} does, instead of overwriting them, like it is in 0.11.
This was and remans intended behavior, and breaks stuff like SOAP headers
support when {{{factories.xml}}} contains global header declarations in
several {{{<configuration>}}} blocks.
[wiki:Cleanup/Configuration/[EMAIL PROTECTED] discusses an additional feature
where
users may control merging behavior in {{{<parameter>}}} trees; this
however would be for a new ticket to cover.
--
--
Ticket URL: <http://trac.agavi.org/ticket/856#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets