Renamed CHOP channels in expressions not invalidated

TD2025.32820 Win11

Renaming a CHOP channel used in an expression does not throw an error or warning after renaming. Even after uncook/recook, or cut/undo.

Before:


After:

Re-merging non-renamed works:

Editing expression then throws a kinda phantom-error:

image

same when using Rename CHOP

huh, even this

oh I guess important to add the issue is only relevant for Menu pars so far from what I’ve seen, might be others as well

Hey @function.store ,

I’m able to reproduce the issue and have added it to our list to be looked at soon.

Thanks,
Varad

Hey @function.store,

Since expressions in menu parms can work as numbers or strings, the op('null1')['chan1'] expression evaluates to None which is internally treated as a string in python. But since none of the menu entries match this string, the first entry is selected. No error is generated since op('null1')['chan1'] is still a valid expression.

Doing a .eval() at the end of the expression makes it error as expected.

Varad