Steps to reproduce:
- Create an application
- Enter the application
- Click on the "Triggers" tab
- Click on "Create message trigger"
- Inside the trigger edition, create a table with a column. Don't save the trigger
- Right click the table column header and choose "Trigger this if values were invalid"
- => crash
The main problem is that validation triggers are associated to tables, and these tables need to exist for them to have validations... but in this case the table doesn't exist because we didn't save the trigger.
I don't know what a solution to this is. Maybe validations should be done in a separate page/tab, where all tables with fields would be presented and one could choose the validation for each column.