Page 1 of 1

Substitution string crashing

Posted: Mon Jan 07, 2008 9:55 am
by kbosscawen
Whether I'm using it right or not, using an alphanumeric substitution string in a Property Change button crashes my server every time I hit that button in a theme. Here's the situation:

I have an alphanumeric property in a device, the value of which I'd like to "build" with a numeric keypad. So, I defined the buttons of the keypad, and set the Property Change New Value to be itself + the value of the button (ie, %%Cable.NewChannel%% + '1' for the 1 button). When I hit the 1 button on the theme, HB crashes.

Is this something that I can't do (other than via a script/task)?

Thanks.

Posted: Mon Jan 07, 2008 11:16 am
by ScottBot
Make sure you are running 3.02. I'm pretty sure that problem was fixed.

However, the fix was to not allow you to assign a property value to itself. I supposed you could create a task that first assigns the property to a temporally property and the back to itself.

Posted: Mon Jan 07, 2008 11:50 am
by kbosscawen
I am running 3.02.

So we don't want a button to be able to access its own value? The proposed work-around seems not-so-elegant.