Standard Support

Bug 1116

PDF Native generation 17 May, 2018

Michael Büchler
16 May, 2018
Product: PowerBuilder Category: DataWindow
Version: 2017 R2 Publishing: Public
Status: Scheduling Priority: P2
Classification: Appeon bug Resolution:
Mark Lee 17 May, 2018
Hi Micheal,

Thanks for reporting this problem! 
We will escalate this problem to our development team for further analysis. 
We will need some time to figure it out, and we will get back to you if any progress we would make.

Mark Lee
Michael Büchler 17 May, 2018 (310KB)

I've attached an example program:
n_test_pdf.of_test_pdf() : test function, creates a pdf 10 times
ds_test_pdf : the test datastore with a image on it (you can try it with the attached image or all other pngs or jpgs)
Build the exe and start the exe a few times at the same time.
Check the images.
If you use pdf native a few pdfs are not OK (not all), if not all images are OK.
Govinda Lopez 16 May, 2018

I was not able to reproduce your case. Can you provide us a reproducible test case so that we can pinpoint the problem?

Michael Büchler 16 May, 2018
Version 2017 R2 Build 1769
Govinda Lopez 16 May, 2018
Hi Michael,

Can you tell what version/build of PowerBuilder you are using?

Michael Büchler 16 May, 2018
2018051609011409500_24459.pdf (88KB)

The images in the PDFs creating using the native PDF generation are destroyed, please see attached screenshot.

*Reproduce Steps:
1.) Create a datastore with some controls (texts, columns, images, lines).
2.) Call SaveAs("c:\...",PDF!,False) in a loop, with diferent file names for the pdf file.
3.) Build a exe.
4.) Run the exe more than one time.

Database Type:
Database Version: