INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Expression causes crash  (Read 994 times)

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Expression causes crash
« 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
Logged

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Expression causes crash
« Reply #1 on: April 30, 2012, 05:10:53 pm »

yeah, you can't use the field you are using in an expression.
Logged

vagskal

  • Citizen of the Universe
  • *****
  • Posts: 1227
Re: Expression causes crash
« Reply #2 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Expression causes crash
« Reply #3 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.
Logged
Matt Ashland, JRiver Media Center

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Expression causes crash
« Reply #4 on: May 01, 2012, 12:53:30 pm »

Thanks

Vincent
Logged
Pages: [1]   Go Up