[BUG-6718] Component Extension Functions won't re-enable if disabled with no lines of code

Good Morning,

We've come across a bug recently that prevents a component's Extension Functions from re-enabling. I'm not sure if this is exclusive to 8.1.20, but it's the version we're currently using.

Steps taken:

  1. Open the Component Scripting window and click on an Extension Function
  2. Enable said Extension Function
  3. Remove all lines from the script (this will leave Line 1 with the pre-defined function name/arguments and Line 2 with no text)
  4. Disable the Extension Function then click Apply or OK.

This will effectively lock us out of editing that script in the future. The only thing we can do is delete the component and create another (copying the component gives us the same issue). The Enabled checkbox looks to be selected when we click on it but the script text area doesn't enable. Clicking away from that extension function and back again will show that the Extension Function is still enabled.

1 Like

Great report! You should report this to support. (This forum is not official support.)

3 Likes

This isn't support, but I'm already on it.

I've opened a new ticket and updated the thread to reference that ticket.

Thanks for the great report, @DaveRNeal ; the steps were very clear and helped with replication.

5 Likes

Thanks for the tip! I'll be sure to do that as well next time.