Skip to content

Race-condition in App.vue for loading tables and shared views #3062

Closed

Description

@SystemKeeper

Steps to reproduce

  1. Open a table which is shared with you and contains views shared with you and reload multiple times

Expected behavior

Table and all views should show at every reload

Actual behavior

Sometimes only the table is shown, the views are missing. This comes from a race-condition in

tables/src/App.vue

Lines 65 to 70 in 1b5916d

await Promise.all([
store.loadTablesFromBE(),
store.getAllContexts(),
store.loadViewsSharedWithMeFromBE(),
store.loadTemplatesFromBE(),
])

Depending which request wins (loadTablesFromBE or loadViewsSharedWithMe), the shared views are either there or not.
loadTablesFromBE -> loadViewsSharedWithMe -> All Fine
loadViewsSharedWithMe -> loadTablesFromBE -> Views missing (as loadTablesFromBE starts with an empty views array and therefore overwrites the already set views from loadViewsSharedWithMe)

Tables app version

2.3.1

Browser

Chrome 153

Client operating system

macOS

Activity

  1. added
    bugSomething isn't working
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on Oct 5, 2026
  2. SystemKeeper commented on Oct 5, 2026

    @SystemKeeper
    ContributorAuthor

    Seems to be a regression from a43ee18 ?

  3. blizzz commented on Oct 12, 2026

    @blizzz
    Member

    Fix in #2953 but in need of a review

  4. added and removed
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3. to reviewWaiting for reviewsbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions