Bug 7212

Datawindow Report missing space amongst a string value 14 November, 2021

Zhang JX
06 September, 2021
Product: PowerBuilder Category: DataWindow
Version: 2021 Build: Powerbuilder/SnapDevelop2021(GA version)
Classification: Issue Publishing: Public
Priority: P3
Status: Closed Reason: INELIGIBLE
Mark Lee @Appeon 14 November, 2021
#8
Hi JX,

Thanks for your feedback!
Since this is not a bug or failure, we will close this ticket.
If you have any further or new questions, please open a new ticket.
Thanks for your understanding.

Regards,
Mark Lee
Zhang JX 14 November, 2021
#7
(In reply to Mark Lee @Appeon from comment #6)
test result

Hi JX, 

Sorry for the late reply.
Unfortunately, we cannot reproduce your problem. Please see attached PDF
file. No matter running it in PB or as deployed CloudApp, the PDF file
exported always have two spaces in the part# SC -2162.(see the attachment)

You can download a free PDF editing tool such as pdf-xchange-editor from
Google, and then open the exported PDF file to see if there are really two
spaces in its content.

Regards,
Mark Lee
Hi Mark, verified there is 2 spaces in the PDF file. thank you and you may proceed to close this case. Regards, JX
Mark Lee @Appeon 11 November, 2021
#6
test result

Hi JX, 

Sorry for the late reply.
Unfortunately, we cannot reproduce your problem. Please see attached PDF file. No matter running it in PB or as deployed CloudApp, the PDF file exported always have two spaces in the part# SC -2162.(see the attachment)

You can download a free PDF editing tool such as pdf-xchange-editor from Google, and then open the exported PDF file to see if there are really two spaces in its content.

Regards,
Mark Lee
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