appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.03k stars 3.67k forks source link

TypeError: Cannot read properties of undefined (reading 'config') #16715

Open sentry-io[bot] opened 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: APPSMITH-3CY

TypeError: Cannot read properties of undefined (reading 'config')
  at _drawCategory (../node_modules/fusioncharts/fusioncharts.js:30:157693)
  at _drawComponents (../node_modules/fusioncharts/fusioncharts.js:30:145818)
  at draw (../node_modules/fusioncharts/fusioncharts.js:30:180564)
  at syncDraw (../node_modules/fusioncharts/fusioncharts.js:13:202559)
  at t (../node_modules/fusioncharts/fusioncharts.js:13:198841)
...
(8 additional frame(s) were not displayed)
github-actions[bot] commented 2 years ago

We have found issues that are potential duplicates:

somangshu commented 2 years ago

Found more information: Smartlook User app does not crash, but the chart app look like cannot recover if a dynamic expression is used inside the chart config

Steps to repro:

  1. D&D a chart widget
  2. Set to custom chart
  3. user mscolumn2d chart type
  4. add basic config
  5. change one of the category label to use a dynamic expression
  6. The chart widget enter an irrecoverable state

I created a sample app where I was debugging this > here

somangshu commented 2 years ago

De-Prioritizing to high since a lot of user are not impacted