backend - Fix 500 error for - Pipeline Editor freezes when using include: rules: - if:
From #344836 (closed):0
It seems that when there was an API error, we used our internal
reportError
method which set the app status toERROR
. It seems that doing so causes an infinite loop in the query. I am still unsure why that specific call created the infinite loop🤔 Because we were only using theERROR
status at one place, I removed it entirely and used a different approach for the component that needed to know about that error. Now the app doesn't freeze anymore and show the error at the top:
Screen_Recording_2021-11-05_at_1.53.15_PM
@lauraX We should open a separate issue to address the 500 error from the API perspective.
Error is coming from Config::External::Rules
Edited by Laura Montemayor