Changeset 2965
- Timestamp:
- 09/30/08 08:39:17 (7 weeks ago)
- Location:
- branches/felix-testing-implementation
- Files:
-
- 7 modified
-
. (modified) (1 prop)
-
CHANGELOG (modified) (1 diff)
-
src/config/xsl/_common.xsl (modified) (2 diffs)
-
src/config/xsl/config_handlers.xsl (modified) (1 diff)
-
src/config/xsl/module.xsl (modified) (1 diff)
-
src/config/xsl/routing.xsl (modified) (1 diff)
-
src/database/AgaviDoctrineDatabase.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/felix-testing-implementation
- Property svnmerge-integrated changed from /branches/1.0:1-2892,2894-2944 /branches/dominik-validation-argument-sources:1-2901 to /branches/1.0:1-2892,2894-2964 /branches/dominik-validation-argument-sources:1-2901
-
branches/felix-testing-implementation/CHANGELOG
r2946 r2965 79 79 0.11.4 RC1 (September ??, 2008) 80 80 ------------------------------- 81 82 ADD: Allow specifying of doctrine template implementations (#864) (David, TANAKA Koichi) 81 83 82 84 FIX: SOAP and XMLRPC test scripts in sample app are broken (#866) (David) -
branches/felix-testing-implementation/src/config/xsl/_common.xsl
r2835 r2965 9 9 <xsl:variable name="envelope_1_0" select="'http://agavi.org/agavi/config/global/envelope/1.0'" /> 10 10 11 <xsl:template match="envelope_0_11:configurations | envelope_0_11:configuration | envelope_0_11:sandbox | envelope_0_11:parameters | envelope_0_11:parameter"> 12 <xsl:element name="{local-name()}" namespace="{$envelope_1_0}"> 11 <!-- callable template for migrating envelope nodes --> 12 <xsl:template name="_common-migrate-envelope-element"> 13 <!-- param for the target namespace; defaults to 1.0 --> 14 <xsl:param name="namespace"><xsl:value-of select="$envelope_1_0" /></xsl:param> 15 16 <xsl:call-template name="_common-migrate-element"> 17 <xsl:with-param name="namespace"><xsl:value-of select="$namespace" /></xsl:with-param> 18 </xsl:call-template> 19 </xsl:template> 20 21 <xsl:template name="_common-migrate-element"> 22 <!-- param for the target namespace; no default --> 23 <xsl:param name="namespace" /> 24 25 <!-- create an element of the same name --> 26 <xsl:element name="{local-name()}" namespace="{$namespace}"> 13 27 <xsl:copy-of select="@*" /> 14 28 <!-- also copy all namespace declarations, except the one of the current element (otherwise, we'd overwrite the namespace in the <element> above if it's just xmlns etc) --> … … 18 32 </xsl:template> 19 33 34 <xsl:template match="envelope_0_11:configurations"> 35 <xsl:call-template name="_common-migrate-envelope-element" /> 36 </xsl:template> 37 <xsl:template match="envelope_0_11:configuration"> 38 <xsl:call-template name="_common-migrate-envelope-element" /> 39 </xsl:template> 40 <xsl:template match="envelope_0_11:sandbox"> 41 <xsl:call-template name="_common-migrate-envelope-element" /> 42 </xsl:template> 43 <xsl:template match="envelope_0_11:parameters"> 44 <xsl:call-template name="_common-migrate-envelope-element" /> 45 </xsl:template> 46 <xsl:template match="envelope_0_11:parameter"> 47 <xsl:call-template name="_common-migrate-envelope-element" /> 48 </xsl:template> 49 20 50 <xsl:template match="*"> 21 51 <xsl:copy-of select="." /> -
branches/felix-testing-implementation/src/config/xsl/config_handlers.xsl
r2648 r2965 13 13 14 14 <!-- pre-1.0 backwards compatibility for 1.0 --> 15 <!-- non-"envelope" elements are copied to the 1.0 factories namespace -->15 <!-- non-"envelope" elements are copied to the 1.0 config_handlers namespace --> 16 16 <xsl:template match="envelope_0_11:*"> 17 17 <xsl:element name="{local-name()}" namespace="{$config_handlers_1_0}"> -
branches/felix-testing-implementation/src/config/xsl/module.xsl
r2785 r2965 16 16 17 17 <!-- pre-1.0 backwards compatibility for 1.0 --> 18 <!-- non-"envelope" elements are copied to the 1.0 factoriesnamespace -->18 <!-- non-"envelope" elements are copied to the 1.0 module namespace --> 19 19 20 20 <!-- overwrite the configuration rule, as we need to work on the elements directly inside it --> -
branches/felix-testing-implementation/src/config/xsl/routing.xsl
r2666 r2965 13 13 14 14 <!-- pre-1.0 backwards compatibility for 1.0 --> 15 <!-- non-"envelope" elements are copied to the 1.0 factoriesnamespace -->15 <!-- non-"envelope" elements are copied to the 1.0 routing namespace --> 16 16 <xsl:template match="envelope_0_11:*"> 17 17 <xsl:element name="{local-name()}" namespace="{$routing_1_0}"> -
branches/felix-testing-implementation/src/database/AgaviDoctrineDatabase.class.php
r2785 r2965 22 22 * @author Ross Lawley <ross.lawley@gmail.com> 23 23 * @author David Zülke <dz@bitxtender.com> 24 * @author TANAKA Koichi <tanaka@ensites.com> 24 25 * @copyright Authors 25 26 * @copyright The Agavi Project … … 74 75 * @author David Zülke <dz@bitxtender.com> 75 76 * @author Ross Lawley <ross.lawley@gmail.com> 77 * @author TANAKA Koichi <tanaka@ensites.com> 76 78 * @since 0.11.0 77 79 */ … … 138 140 } 139 141 142 foreach((array)$this->getParameter('impls', array()) as $templateName => $className) { 143 $this->connection->setImpl($templateName, $className); 144 } 145 146 foreach((array)$this->getParameter('manager_impls', array()) as $templateName => $className) { 147 $this->doctrineManager->setImpl($templateName, $className); 148 } 149 140 150 Doctrine::loadModels($this->getParameter('load_models')); 141 151

