Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch
Description
When overriding a single mergepoint, the outlet must be listed first according to the schema definition. The following patch addresses that:
Index: torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml =================================================================== --- torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml (revision 1689921) +++ torque-site/src/site/xdoc/documentation/codegen-reference/configuration.xml (working copy) @@ -294,14 +294,14 @@ <outlets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://db.apache.org/torque/4.0/generator/configuration http://db.apache.org/torque/4.0/generator/configuration.xsd" xmlns="http://db.apache.org/torque/4.0/generator/configuration"> - <mergepoint name="torque.om.bean.base.getterSetter.setter"> - <action xsi:type="applyAction" outlet="torque.om.bean.base.setter2"/> - </mergepoint> - <outlet name="torque.om.bean.base.setter2" xsi:type="velocityOutlet" path="bean/base/setter2.vm"> </outlet> + + <mergepoint name="torque.om.bean.base.getterSetter.setter"> + <action xsi:type="applyAction" outlet="torque.om.bean.base.setter2"/> + </mergepoint> </outlets> ]]></source> <p>