[#13641] - List of editable text field only display once.

Category:
Bug report
Priority:
Urgent
Status:
Feedback Requested
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

Hi,

I created a jasper report in JasperSoft Stutio v6.12.2, with an editable text field and a normal text field placed in the header, but the editable text field was only displayed on the first page, it was missing on the other page.

It Seems it was a UUID duplicated issue. Did anyone have any idea to fix it?

Attacted jrxml.

Thank you.

XML source:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.12.2.final using JasperReports Library version 6.12.0 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Testing" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ca2bda50-a4b3-41ce-8088-981b760da0ac">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<queryString>
<![CDATA[]]>
</queryString>
<pageHeader>
<band height="100">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<textField>
<reportElement mode="Opaque" x="0" y="0" width="555" height="45" uuid="43daecbd-5fc7-4d4d-8027-55aaf532ce50">
<property name="net.sf.jasperreports.export.pdf.field.type" value="Text"/>
<property name="net.sf.jasperreports.print.keep.full.text" value="true"/>
<propertyExpression name="net.sf.jasperreports.export.pdf.field.value"><![CDATA["Editable Text Field"]]></propertyExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans Mono" size="24"/>
</textElement>
<textFieldExpression><![CDATA["Editable Text Field"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="50" width="555" height="45" uuid="d95a6222-f41f-4cb7-b9d1-17acfc231616">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
</reportElement>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans Mono" size="24"/>
</textElement>
<textFieldExpression><![CDATA["Normal Text Field"]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
<band height="350">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<frame>
<reportElement x="0" y="11" width="555" height="54" uuid="62bdd922-8e5e-4bfc-854e-3b938f861953">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<box>
<pen lineWidth="1.25"/>
</box>
<textField>
<reportElement x="0" y="0" width="555" height="54" uuid="868127f4-2195-4b43-9f72-dac4d0807878"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="36"/>
</textElement>
<textFieldExpression><![CDATA["Detail ... "]]></textFieldExpression>
</textField>
</frame>
</band>
..... Other detail .....
</detail>
</jasperReport>

AttachmentSize
Binary Data testing.jrxml5.63 KB
v6.12.2
JasperStudio
derekltf's picture
Joined: Jun 7 2021 - 9:45am
Last seen: 1 month 1 day ago

2 Comments:

#1
  • Status:New» Feedback Requested

Hi I just tried to run your sample report with the latest 6.17.0.
It appears to be fine with both the textbox shown in all pages.

Can you give it a try with a more recent version?
Best regards,
Massimo.

P.S: about the UUID duplication, did you get some exception/error?

AttachmentSize
PDF icon report6335330936681603152.pdf26.06 KB
#2

Hi Massimo,
Thank you for your reply, but I confused that your report seems different from mine, the editable text field cannot edit in your report.

I tried v6.17.0, but the editable text field still cannot show, I run the report in jasper studio then export it as pdf and open it with Adobe Reader, attached the report generated just now and the screen capture of my report. As the screen show, the editable text field only displays on the first page.

AttachmentSize
Image icon report_screen.png9.96 KB
Feedback
randomness