#1197: Doctrine 1.2 loading doctrine generated models problem
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: david
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.2
Component: database | Version: 1.0.2RC3
Severity: normal | Keywords:
Has_patch: 0 |
-----------------------+----------------------------------------------------
Description changed by david:
Old description:
> When agavi connects to database, unable to load all the Doctrine 1.2
> generated models
> The first test:
>
> {{{
> #!xml
> <ae:parameter name="load_models">%core.lib_dir%/doctrine</ae:parameter>
> }}}
>
> Got error:
> {{{
> Fatal error: Class 'BaseTag' not found in …doctrine/Tag.class.php on line
> 13
> }}}
>
> The second test:
> {{{
> #!xml
> <ae:parameter name="load_models">
> <ae:parameter>%core.lib_dir%/doctrine/generated</ae:parameter>
> <ae:parameter>%core.lib_dir%/doctrine</ae:parameter>
> </ae:parameter>
> }}}
> got errors:
> {{{
> Could not find class User
> }}}
> Agavi needs to load doctrine generated models from 2 dirs, but only from
> one dir loads.
New description:
When agavi connects to database, unable to load all the Doctrine 1.2
generated models
The first test:
{{{
#!xml
<ae:parameter name="load_models">%core.lib_dir%/doctrine</ae:parameter>
}}}
Got error:
{{{
Fatal error: Class 'BaseTag' not found in …/doctrine/Tag.class.php on line
13
}}}
The second test:
{{{
#!xml
<ae:parameter name="load_models">
<ae:parameter>%core.lib_dir%/doctrine/generated</ae:parameter>
<ae:parameter>%core.lib_dir%/doctrine</ae:parameter>
</ae:parameter>
}}}
got errors:
{{{
Could not find class User
}}}
Agavi needs to load doctrine generated models from 2 dirs, but only from
one dir loads.
--
--
Ticket URL: <http://trac.agavi.org/ticket/1197#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets