tracker issue : CF-4205099

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

CacheGetAllIds has inconsistent parameter naming

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Kama S. / ()

Created: 09/04/2019

Components: Caching, General, Language, Functions, Language, Named Parameters

Versions: 2018

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2018,0,04,314546 / 318001

Priority/Frequency: Normal /

Locale/System: / Linux All

Vote Count: 0

The cacheGetAllIds function has its second parameter documented as `accurate`. The named parameter is actually `includeExpired`. The name being different would not normally be a big issue as that could be a documentation fix with the named parameter being used instead, The problem is that semantics of these names are the opposite. The semantically equivalent name of `accurate` would be `excludeExpired`.

I've unfortunately been unable to get the second parameter to have an effect on the resulting array in my tests, so I cannot say which is actually correct.



This was marked as fixed, but no explanation was given for how this was resolved
Comment by Kama S.
33300 | March 20, 2020 02:08:02 AM GMT