Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
robbykrlos opened this issue Feb 25, 2022 · 0 comments
Open
4 tasks done

Comments

@robbykrlos
Copy link

robbykrlos commented Feb 25, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant