tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
92 stars 50 forks source link

[BUG] Issue with MULTIPLE_APP_MODE=False after logging out #1042

Closed swainn closed 4 months ago

swainn commented 5 months ago

Describe the bug We encountered error after logging out single app mode:

no_home_error

We then tried to manually go back to the root URL, which redirected to login and produced this error:

image (6)

It seems to be looking for a home view that doesn't exist.

To Reproduce Steps to reproduce the behavior:

  1. Setup a portal with single app mode
  2. Login
  3. Logout
  4. See error

Expected behavior We should be able to login after logging out

Errors/Traceback See above.

Screenshots See above.

ckrew commented 5 months ago

@swainn What app was installed when this happened? I can take a look

swainn commented 5 months ago

It's our Loone app. Might have to do with the app not having a home controller:

image

swainn commented 5 months ago

I confirmed that changing the index URL and controller to “home” fixes the issue. Tethys should get those dynamical from the app class I think.