tracker issue : CF-4203438

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

ArrayDeleteAt return type is wrong

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Kevin Staton / ()

Created: 11/02/2018

Components: Documentation

Versions: 2016

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: CF9 through CF16 / docs

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win8 Server 64-bit

Vote Count: 0

Problem Description: The documentation says the arrayDeleteAt() function returns the array with the element removed. IT DOES NOT!!!  It returns a boolean indicating if it was successful in deleting the element.

Steps to Reproduce:
Create an array
Insert some values into the array
Delete one of the array elements using arrayDeleteAt()
CFDump the variable used to catch the result

Actual Result:

Expected Result:
array with one less element

Any Workarounds:
Don't set your array to the result of the arrayDeleteAt()