The getMetaData function returns metadata about a CFC. It appears as if it returns a struct, heck, you can even cfdump it and will see "struct" as the type. However, the function is returning an object, and if you attempt to use a struct function on the result of getMetaData(), you will get an error. If you need to examine the result, you will have to use normal dot notation or array functions (if for example you want to search the functions portion of metadata).
(This post is more than 2 years old.)
getMetaData Bug
Support this Content!
If you like this content, please consider supporting me. You can become a Patron, visit my Amazon wishlist, or buy me a coffee! Any support helps!
Want to get a copy of every new post? Use the form below to sign up for my newsletter.