Closed makyen closed 6 years ago
This happens because of this line:
We're rendering a view manually from the controller. When you do that, Rails doesn't include the middleware stack while rendering (see this SO answer), so Devise can't find a Warden instance because there isn't one.
Since these renders are just for realtime updates and the only thing we need Devise/Warden for there is an admin feature... I'm just gonna drop the link that's causing this for the realtime updates.
This MS post only received 1 autoflag where I'd expect it to receive 3 or 4 autoflags. The flag logs indicate that an additional flag was attempted, but encountered a real error (appears to be a Rails error on MS; i.e. not just a normal SE API response), which may have resulted in no more autoflags being placed.
The error text displayed as a toolip begins with: