-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix loop #19858
Fix loop #19858
Conversation
(Standard links)
|
I don't remember but it looks like it logs it to a file before hitting this point so I probably just looked in the file and didn't think more about it. The loop is probably there because of nested exceptions, so the loop would allow outputting the nested messages. So maybe rather than change the loop to an |
test this please |
Tested and works ok. And another way to reproduce this without faking a query error is go to the case dashboard and sort the upcoming list by type. There's already a ticket about the underlying problem but it triggers this - before the logo just spins, now you get the datatables error same as if you didn't have the backtrace setting. |
oh progress - a datatables error :-) Still I think loops are especially bad so this is better IMHO |
Fun sidenotes:
|
@seamuslee001 @colemanw I think this should be merged based on above |
Agreed. Change makes sense. |
Overview
It turns out that if you 'break' advanced search (in my case
I applied a patch that caused invalid sql) it enters a loop.
I really can't see why 'while' would have ever made sense here.
There is nothing to cause it to 'move along'
Before
Loop
After
error
Technical Details
Comments
@demeritcowboy I got a loop testing #19619 - wondering if you did or if not what is different