Logging out on a page with a pcrud call floods browser with errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.10 |
Fix Released
|
High
|
Unassigned | ||
3.12 |
Fix Released
|
High
|
Unassigned |
Bug Description
Seen on 3.10 master and on our almost-
It seems that if you logout while in an Angular interface that does a pcrud call, the browser gets spammed with console messages saying that permacrud received a bad auth token. The number of errors seems get exponentially higher depending on how many pcrud calls are on that page.
The most egregious example I've found is in the new Angular Load MARC Order Records page. The counter for the errors got up into the hundreds, and Chrome completely froze up. This also happens if you're on one of these pages and your login times out. I encountered that one on the Angular acq PO page.
It seems worse on Chrome than on Firefox, but I've seen it happen on both.
And inexplicably, as I'm writing this bug, it's not happening now even though I saw it happen consistently over the past few days as well as just minutes ago. But I have a screenshot to prove that it's not all in my head, so I'm going to go ahead and post this bug in case someone else sees/has seen this or if it happens again and I can add more info.
Changed in evergreen: | |
importance: | Undecided → High |
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Jeff Davis (jdavis-sitka) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
I think I've encountered this recently in 3.9.0
Both times the login timed out and Chrome crashed (so I wasn't able to check the console). I'm pretty sure I was in Fund Administration or the acq General Search.