Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
"Could not parse addon info array." posting update to addon

Posting an update to https://open.vanillaforums.com/addon/useragent-plugin with the code currently at https://github.com/JasonBarnabe/UserAgent. I get "Could not parse addon info array.". The addon seems to run fine.
Is there something wrong with my addon.json? Or maybe this is because this is an update from the old format to the new format?
0
Comments
Are you remembering to put it in a folder with a name that matches your
key
before zipping it?The zip file contains a folder matching my key, yes. Zip file attached.
I can reproduce this with your addon and don't see anything obviously wrong with it.
The message
'Could not parse addon info array.'
comes fromUpdateModel::checkAddon()
in core, which I assume is being invoked byanalyzeAddon()
.It appears it's been a while since someone uploaded an addon with JSON-only meta, so lemme see if a dev can look at the uploader tomorrow and see if there's a bug.
It looks like the order of the parameters in the addon.json matter. I was able to do a test upload with the flowing
Please try this and let me know.
Thanks,
It doesn't seem to be the order, but adding
"documentationUrl" : "",
made it work. Thanks for the help.We're going to file an issue to resolve this in the uploader, but that's a fine work around for now.