dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34251
Re: Error: Editing Aggregate Query
There is a bug in the template
Here is the diff against 2.18-SNAPSHOT, but it also exists in the 2.17 builds.
09:35:23|dhis-2:dan$bzr diff
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm 2014-11-03 13:35:42 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm 2014-11-25 14:18:04 +0000
@@ -24,7 +24,7 @@
<tr>
<td><label for="name">$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
- <td><input type="text" id="name" name="name" value="$encoder.htmlEncode(caseAggregation.name)"></td>
+ <td><input type="text" id="name" name="name" value="$encoder.htmlEncode($caseAggregation.name)"></td>
</tr>
<tr>
Dan Cocos
BAO Systems
www.baosystems.com <http://www.baosystems.com/>
T: +1 202-352-2671 | skype: dancocos
> On Nov 25, 2014, at 3:35 AM, Adebusoye Anifalaje <busoye@xxxxxxxx> wrote:
>
> Hi devs,
>
> After creating a number of aggregate queries, I get an error in my log when I try to edit.
>
>
> Error details below:
>
>
> * ERROR 2014-11-25 09:29:23,015 #parse(): syntax error in #parse()-ed template '/dhis-web-maintenance-program/updateCaseAggregation.vm', called at /ma
> in.vm[line 153, column 9] (Log4JLogChute.java [http-apr-8080-exec-2])
> * ERROR 2014-11-25 09:29:23,015 Unable to render Velocity Template, '/main.vm' (CommonsLogger.java [http-apr-8080-exec-2])
> org.apache.velocity.exception.ParseErrorException: Encountered ")\"></td>\r\n </tr>\r\n \r\n <tr>\r\n\t\t<td><label for=\"dataSets\">" at /dh
> is-web-maintenance-program/updateCaseAggregation.vm[line 27, column 101]
> Was expecting one of:
> "[" ...
> "," ...
> ")" ...
> <WHITESPACE> ...
>
>
> Any ideas what might be causing this?
>
> Thanks.
>
> Busoye
>
> Version:
> 2.17
> Build revision:
> 17561
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
References