From: Jesse Martinez Date: Fri, 1 Jun 2012 14:51:31 +0000 (-0400) Subject: CSPACE-5292: updating Jasper iReports files to remove unused and incorrect accessiond... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a2739d3d07408043447881852449e7481c7cd1a8;p=tmp%2Fjakarta-migration.git CSPACE-5292: updating Jasper iReports files to remove unused and incorrect accessiondate field that was recently converted into a structured date field. This new field type was breaking the Jasper template. Since that field, even when formatted correctly, wasn't used it was safe to remove entirely from the template. I also modified the report template in minor ways to fix field widths. --- diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jasper b/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jasper index b2b633e02..ba00ecee6 100644 Binary files a/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jasper and b/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jasper differ diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jrxml b/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jrxml index bb5c3944e..fd1ec8de6 100644 --- a/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jrxml +++ b/services/report/3rdparty/jasper-cs-report/src/main/resources/acq_basic.jrxml @@ -30,7 +30,6 @@ acquisitions_common."acquisitionmethod" AS acquisitions_common_acquisitionmethod, acquisitions_common."acquisitionauthorizerdate" AS acquisitions_common_acquisitionauthorizerdate, acquisitions_common."acquisitionauthorizer" AS acquisitions_common_acquisitionauthorizer, - acquisitions_common."accessiondate" AS acquisitions_common_accessiondate, acquisitions_common."acquisitionreason" AS acquisitions_common_acquisitionreason FROM "public"."acquisitions_common" acquisitions_common INNER JOIN "public"."hierarchy" hierarchy ON acquisitions_common."id" = hierarchy."id" @@ -45,7 +44,6 @@ $P!{where_clause}]]> - @@ -53,28 +51,21 @@ $P!{where_clause}]]> <band height="102" splitType="Stretch"> <frame> - <reportElement mode="Opaque" x="0" y="0" width="721" height="66" backcolor="#FFFFFF"/> + <reportElement mode="Opaque" x="0" y="0" width="797" height="76" backcolor="#FFFFFF"/> <staticText> - <reportElement style="SubTitle" x="370" y="37" width="316" height="29"/> + <reportElement style="SubTitle" x="458" y="0" width="339" height="29"/> <textElement textAlignment="Right"> <font fontName="DejaVu Sans" size="22" isBold="false"/> </textElement> <text><![CDATA[Acquisitions]]></text> </staticText> <image> - <reportElement x="11" y="2" width="366" height="61"/> + <reportElement x="0" y="0" width="349" height="67"/> <imageExpression class="java.lang.String"><![CDATA["http://www.collectionspace.org/sites/all/themes/CStheme/images/CSpaceLogo.png"]]></imageExpression> </image> </frame> <frame> - <reportElement mode="Opaque" x="0" y="70" width="721" height="32" forecolor="#000000" backcolor="#66FFFF"/> - <textField pattern="EEEEE dd MMMMM yyyy"> - <reportElement x="553" y="12" width="144" height="20" forecolor="#FFFFFF"/> - <textElement textAlignment="Right"> - <font fontName="DejaVu Sans" size="12"/> - </textElement> - <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> - </textField> + <reportElement mode="Opaque" x="0" y="76" width="802" height="14" forecolor="#000000" backcolor="#66FFFF"/> </frame> </band> @@ -82,44 +73,44 @@ $P!{where_clause}]]> - + - + - + - + - + - + - + - + - + @@ -133,7 +124,7 @@ $P!{where_clause}]]> - + @@ -146,14 +137,14 @@ $P!{where_clause}]]> - - + + - + @@ -164,14 +155,14 @@ $P!{where_clause}]]> $F{acquisitions_common_acquisitionauthorizer}.length()-1).replaceAll("[+]"," ")]]> - + - + @@ -213,7 +204,7 @@ $P!{where_clause}]]> - +