[ 
https://issues.apache.org/jira/browse/VELOCITY-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-91.
------------------------------------------


> Backwards compatability lost on templates with 1.3
> --------------------------------------------------
>
>                 Key: VELOCITY-91
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-91
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Stu Churchill
>         Assigned To: Velocity-Dev List
>             Fix For: 1.5
>
>         Attachments: weirdbug.zip
>
>
> With the latest 1.3 download, some templates are failing (with 
> ReferenceExceptions) that were working perfectly under 1.2, an example of 
> which 
> follows. 
> I have a method in a utility class which is placed onto the context;
>   public static String createMethodLine(String visibility, String methodName, 
> List params, Map colData, String returnType, boolean throwsSQLException, 
> boolean retrieveByParams);
> In the template, I have the following;
>   $TGUtils.createMethodLine("public", "retrieve", $index.getIndexColumns(), 
> $tableData.get($tableName).getColumnData(), "boolean", false, true)
> where $index.getIndexColumns() is a java.util.ArrayList and $tableData.get
> ($tableName).getColumnData() is a java.util.TreeMap.
> Works under 1.2 but throws ReferenceExceptions under 1.3 :(

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to