Addepar / Addepar/ember-table

Error: loop count exceeded guard while distributing width

Open
#904 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
351
Avg merge
1d 22h
Merged PRs (30d)
1

Description

Hi,

I'm seeing reports of this error from our app:

loop count exceeded guard while distributing width

I tracked it down to these line in ember-table: https://github.com/Addepar/ember-table/blob/a323756dd350b866dc1acffbf4c0da02df4b411d/addon/-private/column-tree.js#L459-L461

This lead me to the following PR: https://github.com/Addepar/ember-table/pull/530

I'm not sure I understand the issue enough to decide how to handle this error. It is normal for the error to happen sometimes, and can it be ignored, or am I using the library incorrectly and something needs to be resolved to prevent the error?

Any help is appreciated. Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in addon/-private/column-tree.js at lines 459-461 and read the linked PR #530 for the guard's intended behavior. Determine whether the reported error is expected or indicates incorrect usage, then document the conclusion or identify the change needed to prevent erroneous reports.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.