tracker issue : CF-4200994

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

Always include functions and properties in CFC metadata

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood ()

Created: 02/02/2018

Components: Language

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: / 2018.0.0.308598

Priority/Frequency: Normal /

Locale/System: / Other

Vote Count: 0

If you have a CFC with no methods or properties, the metadata for this CFC does not contain a functions or a properties array at all.  This adds more work since I have to check for the arrays' existence or default them.  It would be more convenient for the metadata structure to always contain the arrays, and have them simply be empty if there are no functions or properties.  That way, I can always assume the function array and properties arrays will be there and are safe to loop over.