tracker issue : CF-4042682

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

cfdocument png problem

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/Workaround

Reporter/Name(from Bugbase): Pascal Destailleur / Pascal Destailleur (Pascal Destailleur)

Created: 08/25/2015

Components: Document Management

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Linux All

Vote Count: 0

Problem Description:
I have a document containing different barcodes (PNG images).  The barcodes included in the document are reused, resulting in incorrect barcodes in the document.

Steps to Reproduce:
The barcodes are produced with a loop:
<cfloop list="#pulist#" index="puidx">
      <div id="barcode"><img src="../cfc/barcode.cfc?method=getCode39&amp;data=#puidx#" height="45"  /></div>

Actual Result: The barcode images included in the document are reused, resulting in incorrect barcodes in the document.

Expected Result: The barcode images included in the document should not be reused, resulting in correct barcodes in the document.

Any Workarounds:When changing the component that generates the barcodes to produce JPEG images instead of PNG images, all the barcodes are correct

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

Watson Bug ID:	4042682

External Customer Info:
External Company:  
External Customer Name: Pascal
External Customer Email:  
External Test Config: My Hardware and Environment details:


  1. August 25, 2015 00:00:00: 1_examples.pdf
  2. September 11, 2015 00:00:00:
  3. October 01, 2015 00:00:00: 3_ANeff_CF10Update15_test_jpeg.pdf
  4. October 01, 2015 00:00:00: 4_ANeff_CF10Update15_test_png.pdf
  5. October 01, 2015 00:00:00: 5_ANeff_CF11Update5_test_jpeg.pdf
  6. October 01, 2015 00:00:00: 6_ANeff_CF11Update5_test_png.pdf


Can you share some info which help us reproduce this issue? How is cfdocument used in this case?
Comment by Vamseekrishna N.
6135 | September 10, 2015 10:13:25 PM GMT
the zipfile contains all the files to reproduce. When you choose PNG, as from barcode 21 the images are reused
Comment by External U.
6136 | September 11, 2015 06:11:12 AM GMT
Hi Pascal and Vamsee, FWIW, just noting that *I* was not able to repro this on CF10 Update 15 (w/ Java 1.7.0_15) and CF11 Update 5 (w/ Java 1.7.0_51). All 4 attached PDFs show no duplicate barcodes. Tested on Windows 8.1. Thanks!, -Aaron
Comment by External U.
6137 | September 30, 2015 05:19:44 PM GMT
Hi Pascal, Can you try on the latest versions of CF11 & CF10 ? We are not able to repro it at our end. Thanks, Suchika.
Comment by Suchika S.
6138 | November 28, 2015 09:08:01 AM GMT
Hi, As the workaround gives a working solution, no need to keep investigating time in the issue as I'm the only one experiencing this problem.
Comment by External U.
6139 | December 07, 2015 07:33:11 AM GMT
Thanks Pascal! As suggested closing the bug.
Comment by Suchika S.
6140 | December 07, 2015 08:13:00 AM GMT