ColdFusion 9.0  -  Bug 3155607

Created on Monday, April 2, 2012

Login for more options

Title

CFDocument generating PDF with CFIMAGE barcodes

Description

Problem Description:
It may be easier to see the sample attached code. I am actually using the same code but on a larger scale getting my data from a database and looping over large numbers of products to generate these pdf's. Stripping everything extra out this code shows the problem. When creating a pdf via cfdocument and generating images using cfimage and any barcode font, there are times when 1 barcode is put into the document when it should actually be another. You can see from the example that we generate a pdf with two barcodes and two bits of text (also used in the barcodes). When the pdf is printed the second barcode scans as the data from the first. However the first bit of code is exactly the same but instead of generating a pdf simply displays the numbers and barcodes to screen. Printing those barcodes on the screen and scanning them results in the proper text coming through the barcodes. The sample code will reproduce the problem 100% of the time. Using a font other than a barcode font (and I have tried numerous barcode fonts) will not reproduce the problem. Also creating the images before hand, storing them local, and using an img tag to load them into the pdf document will not work either as it still produces the problem even with pre created images. I have attached both the cold fusion example code as well as one of the barcode fonts I have tried.

Steps to Reproduce:
Run the attached code sample.

Actual Result:
When printing the pdf the barcodes scan the same data instead of two unique sets of data.

Expected Result:
Each barcode should scan the associated data.

Any Workarounds:
none found

Test Configuration

My Hardware and Environment details:
OS: Redhat Enterprise 6
Virtual Box inside a dell m605 server.
Memory For this server (virtual): 16GB
CPU (virtual): 4 duel core Intel(R) Xeon(R) CPU @ 2.27GHz

App Language(s) English
OS Language(s) English
Platform(s) Linux RH Enterprise 6
Browser(s) Unspecified

Notes (5)

  • Kunal Saini

    9:40:53 PM GMT+00:00 Aug 13, 2012

    Hi Nicholas,

    you mentioned that this issue is repoable only with barcode fonts but in index5.cfm no specific font is selected. Also on what OS it is happening, as on windows 2 different barcode is present.

    Thanks
    Kunal

  • Nicholas Edens

    6:45:54 AM GMT+00:00 Apr 3, 2012

    Upgraded to version 9,0,1,274733
    Problem still exists.

    Also this is more a problem with CFDOCUMENT not necessarily CFIMAGE.
    However no product area existed for CFDOCUMENT.

  • Nicholas Edens

    1:22:52 PM GMT+00:00 Apr 2, 2012

    tar upload failed. uploading individual files now

  • Nicholas Edens

    1:20:20 PM GMT+00:00 Apr 2, 2012

    Just added testcase.tar file that include a simpler test case that does no use cfimage.

  • Nicholas Edens

    11:25:22 AM GMT+00:00 Apr 2, 2012

    This code was being used to generate scannable hangtags for a large distributor. Unfortunately the bug caused us to cancel distribution of the hangtags until the problem can be resolved. Any help at all would be appreciated.

Duplicate ID
Reported By Nicholas Edens

Status

State Open
Status ToTrack
Reason PRNeedInfo

Importance

Priority 4-Very High
Frequency All users will encounter
Failure Type Data Corruption
Product Area CFIMAGE

Build

Found In Build 9.0
Fixed In Build

Votes (0)

Your session has expired! Click to login
Current form data will be preserved

Cancel