We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Exceptions in Triggers are cached 🌵

Hey,

came across an issue the other day when working with some unstable code inside a Trigger. My code threw an error at one point, and after that it kept throwing the same error even though I had fixed the problem. After talking to Stian we suspected there might be a caching problem. Seems our hunch was right.

Problem is reproducible by setting up the following simple trigger, and saving a company over and over again until it throws an error. 

Once it throws the error, it'll keep failing with the same errormessage over and over until the fcgi process recycles.

Seems like something worth being aware of, and hopefully it'll get fixed.

RE: Exceptions in Triggers are cached 🌵

Fixed in 8.5 R09.

Av: Stian Andre Olsen 6. des 2019

RE: Exceptions in Triggers are cached 🌵

Excellent!

Av: Frode Lillerud 6. des 2019