Skip to content

[14.0] Request has no attribute session #1226

Description

@jguenat

Since 1305e87 was introduced, this error can be triggered when using /web for the website homepage and going to website domain when already logged in.

Maybe this issue can be triggered in another situation.

To Reproduce

Affected versions: 14.0

Steps to reproduce the behavior:

  1. Install website
  2. Configure the homepage_id url to /web
  3. log in with an internal user on this website
  4. try to open a new tab on the website
  5. AttributeError is thrown

I patched it quickly there jguenat@36c5cf9

I tried to look for a better fix but it got complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions