CommonExpressionsHelper.addPageXofY fix
Brought to you by:
djmamana,
martingoros
The method ar.com.fdvs.dj.core.layout.CommonExpressionsHelper.addPageXofY called band.addElement(pageCounter) and a few lines down alignment.align called band.addElement(pageCounter) a second time. This bug was not visible when exporting to PDF. When using Aspose.Words for Jasper Reports the footer of each page would read Page 1 of 10 10 instead of Page 1 of 10.
You can verify this by generating JRXML.
To fix this delete line 94 ("band.addElement(pageCounter);") of ar.com.fdvs.dj.core.layout.CommonExpressionsHelper.
This relates to the the version in the trunk as at July 20 2010.