View Issue Details

IDProjectCategoryView StatusLast Update
0019113MMW 5Extensions frameworkpublic2022-06-10 00:44
Reporterzvezdan Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version5.0 
Target Version5.0.4Fixed in Version5.0.4 
Summary0019113: isTemporary freezes the program for every node
DescriptionWell, I didn't test it in my script, I trying it in DevTools.

Type the next line in DevTools, press Enter and you will freeze the program:
navUtils.getActiveNode().dataSource.isTemporary

Type navUtils.getActiveNode().dataSource in DevTools, press Enter, expand the object and click on the (...) next to the isTemporary and you will freeze the program.
TagsNo tags attached.
Fixed in build2650

Activities

Ludek

2022-05-24 20:10

developer   ~0068221

isTemporary isn't a property for node.dataSource unless the dataSource is SharedFolder: https://www.mediamonkey.com/docs/api/classes/SharedFolder.html
In case of folder it is undocumented write-only property, therefore reading probably crashes.

=> Fixed in 5.0.4.2650 by changing it to read/write property -- still undocumented as it is for some internal purposes only.

peke

2022-06-10 00:44

developer   ~0068471

Verified no freeze in 2651