tracker issue : CF-4153049

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

[ANeff] Bug for: StructNew("unordered") not supported

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 05/14/2016

Components: Language, Functions

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Minor / Few users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Filing as bug b/c a parameter should always accept its default value.

Thus, the following should run but throws an exception:

<cfscript>
  condition = false;
  type = condition ? "ordered" : "unordered";
  s = structNew(type);
</cfscript>

Basically, it should always be possible to set a parameter's value conditionally.

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

Watson Bug ID:	4153049

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

Hi Aaron, Thanks for logging the bug. Will add the support for "unordered" soon.
Comment by Awdhesh K.
2800 | May 14, 2016 01:11:55 AM GMT
Hi Awdhesh, You're very welcome! And thanks very much! :) -Aaron
Comment by External U.
2801 | May 14, 2016 01:16:08 AM GMT
We do not find this to be a compelling use-case, hence closing.
Comment by Vamseekrishna N.
2802 | August 17, 2016 11:38:54 PM GMT