INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: Vincent Kars on April 30, 2012, 04:01:30 pm

Title: Expression causes crash
Post by: Vincent Kars on April 30, 2012, 04:01:30 pm
Made a field opusCHI, type = calculated data
I pasted an expression in it.
This caused a crash
I narrowed it down to
IsEmpty([OpusCHI],0)

Looks like if you apply this test to a calculated field MC crashes
Title: Re: Expression causes crash
Post by: 221bBS on April 30, 2012, 05:10:53 pm
yeah, you can't use the field you are using in an expression.
Title: Re: Expression causes crash
Post by: vagskal on April 30, 2012, 05:40:29 pm
Actually, Matt once told me that MC could handle circular references (which sounded like the smartest program I have ever heard of). I guess he just meant that MC would not crash if there was a circular reference, like in your case where a field seems to have been referenced in the definition of that very same field. Maybe you have proved him wrong and found a bug.
Title: Re: Expression causes crash
Post by: Matt on May 01, 2012, 12:01:37 pm
In a coming build:
Fixed: If an expression field referenced itself, the circular reference could cause a crash.
Title: Re: Expression causes crash
Post by: Vincent Kars on May 01, 2012, 12:53:30 pm
Thanks

Vincent