tracker issue : CF-4126643

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

replaceList backwards compatibility problems

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Harry Klein / Harry Klein (Harry Klein)

Created: 03/09/2016

Components: Language

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Major / Unknown

Locale/System: English / Win All

Vote Count: 4

The behaviour for replaceList was changed in Raijin:

writeOutput(replaceList("abcd","a,b,c","")); - was "d" in earlier versions and in ACF12 "abcd"

writeOutput(replaceList("abcd","a,b,c",",,")); - was "d" in earlier versions and in ACF12 "abcd"

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

Watson Bug ID:	4126643

External Customer Info:
External Company: CONTENS
External Customer Name: Harry Klein
External Customer Email: KLEIN@CONTENS.DE
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: Date Closed newValue: 2015-10-21 07:45:25.0 oldValue: Blank oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: Closed By newValue: prk oldValue: Blank oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: Owner newValue: Blank oldValue: prk oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: prk recordName: RQ_DEFECT timpestamp: 2015-10-21 14:45:26.0 action: updated fieldName: QE Assigned newValue: prk oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-10-20 09:08:39.0 action: updated fieldName: Owner newValue: prk oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-10-20 09:08:39.0 action: updated fieldName: Fixed By newValue: mchandna oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: updated fieldName: Date Fixed newValue: 2015-10-07 05:54:02.0 oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: updated fieldName: Reason newValue: Fixed oldValue: Investigate oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: updated fieldName: Changelist newValue: 295932 oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: updated fieldName: Owner newValue: suchsing oldValue: mchandna oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-10-07 12:54:02.0 action: bulk updated fieldName: Owner newValue: mchandna oldValue: mjain oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-18 06:32:54.0 action: bulk updated fieldName: Dev Assigned newValue: mchandna oldValue: mjain oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-18 06:32:54.0 action: bulk updated fieldName: Dev Assigned newValue: mjain oldValue: awdhesh oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-16 17:54:55.0 action: bulk updated fieldName: Owner newValue: mjain oldValue: awdhesh oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-16 17:54:55.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-05 06:41:30.0 action: updated fieldName: Reason newValue: Investigate oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-05 06:41:30.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-05 06:41:30.0 action: updated fieldName: Owner newValue: awdhesh oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-05 06:41:30.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-05 06:41:30.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-28 13:11:15.0 action: updated fieldName: Owner newValue: suchsing oldValue: prk oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 16:03:44.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 16:03:44.0 action: updated fieldName: Priority newValue: 3 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 16:03:44.0 action: updated fieldName: QE Assigned newValue: suchsing oldValue: prk oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 16:03:44.0 action: updated fieldName: Status newValue: Unverified oldValue: Unverified oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 16:03:44.0 action: updated fieldName: Owner newValue: prk oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 13:26:53.0 action: updated fieldName: QE Assigned newValue: prk oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-08-27 13:26:53.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-27 07:44:10.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-26 20:36:14.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-26 17:55:11.0
Comment by CFwatson U.
3631 | March 09, 2016 04:23:50 AM GMT
Voting with 25 characters or more.
Vote by External U.
3633 | March 09, 2016 04:23:51 AM GMT
Form Errors: Vote comment is required and must be at least 25 characters in length.
Vote by External U.
3634 | March 09, 2016 04:23:53 AM GMT
+1 - Same issue w/ CF12's new replaceListNoCase(). Verified replaceList() returns 'd' in CF11 final and CF11 Update 5.
Vote by External U.
3635 | March 09, 2016 04:23:54 AM GMT
Confirmed on ACF11 / Lucee 4.5 these produce d as expected but on Raijin they produce abcd.
Vote by External U.
3636 | March 09, 2016 04:23:55 AM GMT
Added By:prk Note Added: This issue is fixed and the fix will be made available in the upcoming release. Thanks. Date Added :2015-10-21 14:45:26.0 Added By:mchandna Note Added: By default, includeemptyfields is false so ideally this behavior is correct, if you turn includeemptyfields to true, you will get expected result But because includeemptyfields was introduced as enhancement, we should not break what was working before. If includeemptyfields attribute is not present, then we used to ignore empty fields except in case target list is smaller than source list, we used to replace remaining strings of source list to empty string. adding this special case again, and making behavior in sync with earlier behavior. Date Added :2015-10-07 12:58:31.0 Added By: PreRelease User User Name:Aaron Neff Note Added: +1 - Same issue w/ CF12's new replaceListNoCase(). Verified replaceList() returns 'd' in CF11 final and CF11 Update 5. Date Added :2015-08-26 20:35:39.0 Added By: PreRelease User User Name:Harry Klein Note Added: Entered Bug. Date Added :2015-08-26 17:38:45.0
Comment by CFwatson U.
3632 | March 09, 2016 04:23:57 AM GMT