SearchBuilder 1.3.1 Hang
SearchBuilder 1.3.1 Hang
rfitzwater
Posts: 57Questions: 5Answers: 1
When adding additional conditions, the browser hangs completely and system CPU spikes. To test, use the link below and then click the Filters button (top right) then Filter Builder tab. Click Add Condition --> Subject-->Equals-->AAD, then try adding another condition. The browser hangs until it crashes. I've tried both Safari and Chrome.
https://ecr.rider.edu/dtt/main.php?term=202220
Does anyone have a fix or workaround for this problem.
Thanks,
-Rhon
Answers
I just tried this in both Chrome and FF, and it's working as expected. Was it an issue with the data that you've resolved?
Colin
Try testing again after moving a column or just reloading the page. If I clear the saved state and reload, it doesn't hang. It seems coming in fresh it works as expected, but not after the saved state is restored. I need to test more to narrow it down further.
Yep, I just tried again, and it's working as expected still. If you could provide steps to reproduce, we'd be happy to take a nose,
Colin
Here are my steps to reproduce:
-Reset the Saved State (right click on table for contextual menu)
-Go to Filter Builder (Filters --> Filter Builder tab)
-Add Condition (Subject -- Equals -- AAD)
-Add Condition (Course -- Starts With -- 2)
-Add Condition (Section -- Contains -- 1)
- indent the last condition
- Click Add Condition button under indented section.
- Browser will hang
Thanks for those steps, but it's still working perfectly for me. I'm on Ubuntu with Chrome 98.0.4758.80. What's your setup there, and I'll try to reproduce that. Have you tried in incognito mode in case an extension is causing the problem?
Colin
Colin,
I'm sharing my saved state data here in hopes that you can copy and paste it replacing the saved state data. I did this copying the state pre-hang in Chrome and overwrote the Safari saved state, close the browser window then visit page again. As soon as I click the Add Condition button, the browser hangs. I have been able to reproduce this consistently.
Let me know if a screen recording might be beneficial.
Saved State:
{"time":1644248200950,"start":0,"length":75,"order":[[0,"asc"]],"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true},"columns":[{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":false,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}},{"visible":true,"search":{"search":"","smart":true,"regex":false,"caseInsensitive":true}}],"ColReorder":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"naruto":"kurama","childRows":[],"searchBuilder":{"criteria":[{"condition":"=","data":"Subject","origData":"1","type":"html","value":["AAD"]},{"condition":"starts","data":"Course","origData":"2","type":"html","value":["2"]},{"criteria":[{"condition":"contains","data":"Section","origData":"3","type":"html","value":["1"]},{"type":"","value":[]}],"logic":"AND"}],"logic":"AND"},"page":0}
Thanks!
The problem is that the steps you posted above weren't reproducing it for me, but was for you. As I said, can you let me know your OS and browser versions and I'll try and replicate the exact same,
Colin
Colin,
I am running macOS 12.2. I am getting hangs on Safari 15.3 and Chrome 97.0.4692.99.
-Rhon