View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020839 | MMW 5 | Extensions framework | public | 2024-04-10 17:02 | 2024-04-12 16:13 |
Reporter | drakinite | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 5.1 | ||||
Target Version | 5.2 | Fixed in Version | 5.1 | ||
Summary | 0020839: setExtendedTagsAsync() allows you to input invalid JSON, which can cause crashes down the line | ||||
Description | I was working on improving the documentation on lyrics/comment/extendedTags and decided to test what happens if you try to put invalid JSON to the extendedTags field: track.setExtendedTagsAsync('Hello world'); track.commitAsync(); Since MM expects extendedTags to be JSON-formatted, and may throw errors when attempting to parse extendedTags with invalid JSON, I would expect one of those two steps to throw an error, but it does not. | ||||
Tags | No tags attached. | ||||
Fixed in build | 3014 | ||||