tracker issue : CF-4118951

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

Sorted Structs cannot be created

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): James Mohler / James Mohler (James Mohler)

Created: 02/17/2016

Components: Language, Functions

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF2016_Final / latest build

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Mac 10.11

Vote Count: 0

Problem Description: The documentation on Sorted Structs is incorrect

Steps to Reproduce:

<cfset str = structNew("sorted")>

Actual Result:

Valid struct type values are: Linked. 

Expected Result:

Valid Variable

Any Workarounds:

Unknown

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

Watson Bug ID:	4118951

Reason:	BugVerified

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



Mac OS X

Attachments:

Comments:

StructNew("Linked") Doesn't work either
Comment by External U.
4668 | February 17, 2016 11:12:14 PM GMT
Hi James, We dont support StructNew('sorted') . We only support struct that mantain insertion order . Syntax for Ordered Struct: StructNew('ordered') The exception message needs to be changed to Valid struct type values are: Ordered. This is a bug . Thanks for reporting it. Thanks, James
Comment by Suchika S.
4669 | February 18, 2016 01:42:16 AM GMT
[subscribe]
Comment by External U.
4670 | February 18, 2016 06:13:05 AM GMT
This can be closed
Comment by James M.
31590 | October 11, 2019 05:41:45 PM GMT