Bug 7212

Datawindow Report missing space amongst a string value 07 September, 2021

Zhang JX
06 September, 2021
Product: PowerBuilder Category: DataWindow
Version: 2021 Build: Powerbuilder/SnapDevelop2021(GA version)
Classification: Publishing: Public
Priority: P3
Status: Reproducing Reason:
Communication Status: Waiting for Appeon
Mark Lee @Appeon 07 September, 2021
#5
Hi JX, 

Thanks for providing the test case.
We will be working on analyzing/reproducing your case. 
We will keep you posted on the results here.

Regards,
Mark Lee
Zhang JX 06 September, 2021
#4
bug7212.zip (1409KB)

(In reply to Ken Guo @Appeon from comment #3)
Hi JX, 

Can you provide a reproducible simple test case (with PBT/PBL)? This would
help us to analyze the issue. Thanks for your understanding!

Regards,
Ken
Hi Ken, Attached pbt/pbl for this issue. Just restore the DB: AppeonDB to SQL server >> run the application >> click on "Retrieve" >> "Save PDF" button; the part# SC -2162 in PDF come with 1 space only, while data is 2 spaces inside. Regards, JX
Ken Guo @Appeon 06 September, 2021
#3
Hi JX, 

Can you provide a reproducible simple test case (with PBT/PBL)? This would help us to analyze the issue. Thanks for your understanding!

Regards,
Ken
Zhang JX 06 September, 2021
#2
(In reply to Zhang JX from comment #1)
PowerServer2021 20210906.pdf (86KB)

*Phenomenon:
Datawindow report field data come with 2 spaces within the string value;
when print this report to "MS Print to PDF" or save as PDF, those 2 spaces
become 1 only;
applicable to both Native mothed and ghostscript 

*Reproduce Steps:
>> Create a DWO and retrieve data from SQL table, string data value come with 2 spaces, such as >> SC__2172 (please ignore the _ )
>> Saveas to be PDF report, or print it to be PDF file by using "MS Print to PDF"
>>Copy this value and left 1 space only

Remarks:
It happened to both PB2019R3 and PB2021, even the same when deploying to
CloudApp
To addon, if saveas Excel, no such issue. Regards, JX
Zhang JX 06 September, 2021
#1
PowerServer2021 20210906.pdf (86KB)

*Phenomenon:
Datawindow report field data come with 2 spaces within the string value;
when print this report to "MS Print to PDF" or save as PDF, those 2 spaces become 1 only;
applicable to both Native mothed and ghostscript 

*Reproduce Steps:
>> Create a DWO and retrieve data from SQL table, string data value come with 2 spaces, such as >> SC__2172 (please ignore the _ )
>> Saveas to be PDF report, or print it to be PDF file by using "MS Print to PDF"
>>Copy this value and left 1 space only

Remarks:
It happened to both PB2019R3 and PB2021, even the same when deploying to CloudApp
OS:
All
Platform:
All
Database Type:
Microsoft SQL Server
Database Version:
Azure SQL