Skip to content

New tab redirects regression on 2024.9.8 #2307

@French-Asgeir

Description

@French-Asgeir

Is there an existing issue for this?

  • I have searched the existing issues

Version of Corteza

2024.9.8

Current Behavior

following : #2251

Recent change seems to completely fix the previous issue for the step I shared (duplicating a tab) but also introduced a regression. If the redirect to a new tab was initiated from Corteza (in a record list block), the initial tab will return 401 when navigating, almost as if the previous sessions was overwritten or made obsolete :

Image

Also it doesn't seems to always fix the issue when using an "Open in new tab" record list action. The first record opened this way will work (or at least i didn't manage to make it not work). From the second record opened from the initial tab, it seems to happen randomly.

Expected Behavior

A new page redirect should always redirect to the correct content.

Steps To Reproduce

  1. Create a namespace
  2. Create a module with 10 records
  3. Create a record and record list page
  4. In the record list page, set "On record click" to "Open record in a new tab"
  5. Click on one of the record
  6. Return to the record list tab
  7. From the record list tab go to "Admin panel" to trigger to 401 errors

Environment and versions

Firefox 148.0.2

Anything else?

browser console when it fail :
Image

browser console when it success :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions