Mad Nomad
April 6th, 2022, 19:33
The getExtensionInfo function calls for "name" as input. But it actually required extensionID as input.
When you do an Extension.getExtensions() call it returns extension IDs that match the file name in the extensions folder. This is not always the same as the extensions "name" attribute, which is something returned with a get ExtensionInfo call.
extension ID seems to be an undocumented property of extensions
I'd recommend adding that into API wiki and changing the function call documentation to indicate it requires an extension ID instead of "name" which can be misinterpreted as the name property
When you do an Extension.getExtensions() call it returns extension IDs that match the file name in the extensions folder. This is not always the same as the extensions "name" attribute, which is something returned with a get ExtensionInfo call.
extension ID seems to be an undocumented property of extensions
I'd recommend adding that into API wiki and changing the function call documentation to indicate it requires an extension ID instead of "name" which can be misinterpreted as the name property