uPortal-Attic / uportal-app-framework

Framework for creating uPortal Applications
http://uportal-project.github.io/uportal-app-framework/
Apache License 2.0
23 stars 31 forks source link

stop redirecting through login on status undefined #1031

Closed apetro closed 3 years ago

apetro commented 3 years ago

Observed on predev.my infinite redirect on a particular failure of the layout backend.

The layout backend should not, of course, fail.

But if it does fail, the front end shouldn't enter an infinite redirect loop.

This pull request backs out the change that made the framework more aggressive about redirecting through login on failures. Before this change, undefined responses yielded redirect. After this change, undefined responses don't yield a redirect.