tracker issue : CF-3969304

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

Cfpop tag duplicates attached files when generateUniqueFilenames is true

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / Katsuhito Oinuma (Md. Kaif Akbar Quraishi)

Created: 04/14/2015

Components: Net Protocols, POP

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 292866 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_possibly_fixed on September 02, 2019 using build 2016.0.01.298513
Problem:-
When generateUniqueFilenames is ture and a mail has 1 attached file, a.txt, cfpop saves 2 files, a.txt and a1.txt.
When a mail has 2 attached files with the same name, b.txt and b.txt, cfpop saves 4 files, b.txt, b1.txt, b2.txt, b3.txt.

Apart from Hmailserver, Qpopper and Dovecot  also showing the same issue.

Sample code to reproduce the issue:-
<cfpop
    server = "severname"
    action = "getAll"
    attachmentPath = "#ExpandPath(".")#\attachement"
    generateUniqueFilenames = "yes"
    name = "objcfpop"
    password = "password"
    port = "110"
    timeout = "60"
    username = "username">

<cfdump var="#objcfpop#">


Method:
Configure Hmailserver.
Save the above code in a cfm page.
Call the above CFM page.

Result:
cfpop saves 2 files for single attachment and 4 files for 2 attachment files.


Expected:
cfpop should save same no. of files. 

Workaround:
Needs to be identified

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

Watson Bug ID:	3969304

External Customer Info:
External Company: SAMURAIZ CORPORATION
External Customer Name: Katsuhito Oinuma
External Customer Email: sam18533@adobe.com

Attachments:

Comments:

We are seeing the movemail action have a similar behavior. If we moved 2 emails it will move 4. It would always be double. So something about this tag was running twice. We are using cfimap into Lotus notes.
Comment by External U.
7887 | October 19, 2015 07:39:23 AM GMT
Hi Adobe, I've verified this is possibly fixed in CF2016 Update 1 (build 2016.0.01.298513). I was unable to reproduce on CF11 Update 7 (11.0.07.296330) using SmarterMail, even in original ticket CF-3840754. Thanks!, -Aaron
Comment by Aaron N.
31264 | September 02, 2019 09:52:05 AM GMT