tracker issue : CF-3155607

select a category, or use search below
(searches all categories and all time range)
Title:

CFDocument generating PDF with CFIMAGE barcodes

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Nick Edens / Nick Edens (Nicholas Edens)

Created: 04/02/2012

Components: Document Management

Versions: 9.0

Failure Type: Data Corruption

Found In Build/Fixed In Build: 9.0 /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Linux RH Enterprise 6

Vote Count: 0

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

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3155607

External Customer Info:
External Company:  
External Customer Name: Nicholas Edens
External Customer Email:  
External Test Config: 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

Attachments:

  1. April 03, 2012 00:00:00: 1_index5.cfm
  2. April 03, 2012 00:00:00: 2_KC119.jpg
  3. April 03, 2012 00:00:00: 3_KC128.jpg
  4. April 03, 2012 00:00:00: 4_index5.cfm

Comments:

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.
Comment by External U.
19802 | April 02, 2012 12:55:22 PM GMT
Just added testcase.tar file that include a simpler test case that does no use cfimage.
Comment by External U.
19803 | April 02, 2012 02:50:20 PM GMT
tar upload failed. uploading individual files now
Comment by External U.
19804 | April 02, 2012 02:52:52 PM GMT
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.
Comment by External U.
19805 | April 03, 2012 08:15:54 AM GMT
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
Comment by Kunal S.
19806 | August 13, 2012 11:10:53 PM GMT
Not able to reproduce. Have not heard back from the customer. If you are still facing the issue ,please provide let us know.
Comment by Suchika S.
19807 | December 03, 2014 04:17:33 AM GMT