View Issue Details

IDProjectCategoryView StatusLast Update
0020839MMW 5Extensions frameworkpublic2024-04-12 16:13
Reporterdrakinite Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version5.1 
Target Version5.2Fixed in Version5.1 
Summary0020839: setExtendedTagsAsync() allows you to input invalid JSON, which can cause crashes down the line
DescriptionI 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.
TagsNo tags attached.
Fixed in build3014

Activities

Ludek

2024-04-11 12:53

developer   ~0075086

Fixed in 3014

peke

2024-04-12 16:13

developer   ~0075103

Verified 3014