View Issue Details

IDProjectCategoryView StatusLast Update
0017160MMW 5Generalpublic2020-12-03 14:48
Reporterdrakinite Assigned To 
PrioritylowSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Summary0017160: Passing a string to app.getValue, when item is an object, results in crash
DescriptionIf you set, for example:

app.setValue('foo', {a: 1, b: 2})

then attempt:

app.getValue('foo', '12345');

it will attempt to set properties a and b to the string and result in a crash. Ideally, it would note the type difference and throw an error at the user (that is, the addon developer), instead of crashing. Super low priority because it's an obscure bug.
TagsNo tags attached.
Fixed in build

Activities

Ludek

2020-12-03 14:41

developer   ~0060531

It currently shows the error just fine, only when the developer mode is off then it also suggest to send logs.

So I don't think that a change is required.

drakinite

2020-12-03 14:48

developer   ~0060532

Agreed; Closing