#1194: Single Propel init query is lost during initialization
----------------------+-----------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2
Component: database | Version: 1.0.2RC3
Severity: normal | Keywords:
Has_patch: 0 |
----------------------+-----------------------------------------------------
So it seems that if you have a config like
{{{
#!xml
<settings>
<setting id="queries">
<query>set search_path to public, foo</query>
<query>SELECT * FROM bar</query>
</setting>
</settings>
}}}
Propel will generate:
{{{
#!php
<?php
// ...
array (
'query' => array (
0 => 'set search_path to public, foo',
1 => 'SELECT * FROM bar',
),
),
// ...
?>
}}}
while
{{{
#!xml
<settings>
<setting id="queries">
<query>set search_path to public, foo</query>
</setting>
</settings>
}}}
will result in
{{{
#!php
<?php
// ...
array (
'query' => 'set search_path to public, foo'
),
// ...
?>
}}}
which will upset the new code for appending init queries added in
[source:tags/1.0.2RC3 1.0.2RC3] for #1181
--
Ticket URL: <http://trac.agavi.org/ticket/1194>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets