Skip to content

Uncaught (in promise) TypeError: this.template.columns is undefined #38

@robbykrlos

Description

@robbykrlos

This is a bug.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation?
  • Did you perform a cursory search?

Hi,

There is a general problem with the tables (initially thought it's related to enums) - something about the timings of the fetch data we assume.

This is the error:
image

And it can be simulated in several ways:

  1. On your side - https://www.laravel-enso.com/administration/XXXX - click rapidly ( as fast as you say out loud, normally, click click click :) ) on the Administration menus - I start from Users -> User Groups -> .... -> Teams.

  2. On our side we have some second tables that open when a clickable column cell is clicked on the first table. The same thing happens, when multiple initTable + tableData are triggered, we get the same error.

We tried an initial investigation and played a bit with $nextTink and _debounce, but I feel that this is not the right solution. (A debounce of 500ms on click will avoid the issue).

Investigation is still ongoing on our side. If you have some ideas/fixes would be great.

Thanks!

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