Skip to content

intermittent bug when navigating to Run's list #3292

@JosephBarkate

Description

@JosephBarkate

🐛 Bug

Happens intermittently around runs list view, looks like runsRequestRef.abort() is being called when runsRequestRef is undefined

To reproduce

First load click around runs view quickly

Expected behavior

Should not show this issue

Environment

  • Aim Version (e.g., 3.0.1)
  • Python version 3.10
  • pip version
  • MAC 14.7.2
  • Any other relevant information

A simple null check seems to fix this issue, will make PR if I get go ahead.

runsModelMethods.ts line ~950

> function destroy(): void {
>     if (runsRequestRef?.abort) {
>         runsRequestRef.abort();
>     }
>     liveUpdateInstance?.clear();
>     liveUpdateInstance = null;
>     model.setState({
>         ...model.getState(),
>         selectFormData: {
>             ...model.getState().selectFormData,
>             error: null,
>         },
>     });
> }
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtype / bugIssue type: something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions