Please be advised that this website is now read-only and will be shut down soon.
      Please use, going forward.
More...If you are searching in Tracker for old issues created through bugbase, you can search by the <project_key>-<old bugbase number>.
<project_key> is mapped as:
ColdFusion         : CF     
ColdFusion Builder : CFB    
Framemaker         : FRMAKER
RoboHelp           : RH     
Adobe AIR          : AIR    
Adobe Flash Player : FP     

ColdFusion 9.0  -  Bug 3155607

Created on Monday, April 2, 2012

Login for more options


CFDocument generating PDF with CFIMAGE barcodes


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 (6)

  • Suchika Singh

    1:47:33 AM GMT+00:00 Dec 3, 2014

    Not able to reproduce. Have not heard back from the customer. If you are still facing the issue ,please provide let us know.

  • 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.


  • 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


State Closed
Status Withdrawn
Reason CannotReproduce


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


Found In Build 9.0
Fixed In Build

Votes (0)

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