question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change in SummaryDataAsync when no data in sheet behavior changed

See original GitHub issue

Hi guys,

Below piece of code was working perfect until recent updates to the extensions API. This behavior is taking place on Tableau Server and not on Desktop.

What we discovered recently? When there is no summary data found in the sheet we normally would get an object with rows (0) and columns (0) meaning there is no data found in the sheet. But now we do not get anything anymore resulting in a crash and very ugly error message on server when certain filters or dashboard actions result in a empty sheet (which provides data to the extension). The ‘then’ in below example is not returning a single thing.

return settings.selectedSheet .getSummaryDataAsync() .then(({ columns, data: rows }) => { if (columns.length === 0 && rows.length === 0) { throw new Error( "Summary data is empty. A filter is probably excluding all data." ); } });

Can you have a look at this please?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
johnDancecommented, Jul 15, 2020

@SiebeG - Thank you for the clarification. I did some research and found that the fix didn’t get integrated into online until the 2020.3 staging. That is coming out soon. Sorry for the confusion. I’ll update the fixes and timeline here:

getSummaryData fails when there is no data has been fixed in:

  • desktop: 2020.2.2
  • on-prem: 2020.2.2
  • online: 2020.3

getSummaryData has a limit of 10,000 rows has been fixed in:

  • desktop: 2020.2.4
  • on-prem: 2020.2.4
  • online: 2020.3

John

1reaction
SiebeGcommented, Jul 14, 2020

Following this thread.

No data in the datasheet is not an error and can be a planned action. That’s why we created a humane message. Throwing an error confuses the dashboard users.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Dozen Common Mistakes and What to Do Instead
Some examples include verbal redirecting, proximity control, reinforcing incompatible behaviors, changing the academic tasks and providing additional cues ...
Read more >
Changing Behaviors by Changing the Classroom Environment
Changing the classroom environment can increase academic engagement and decrease disruptive behavior.
Read more >
Behavior Assessment: Duration and Latency Recording - Activity
Gain experience collecting data using both duration recording and latency recording. By collecting data, educators can determine whether a student's behavior ...
Read more >
Breaking the Behavior Code - Child Mind Institute
Behavior code: how teachers can better understand, anticipate, and respond to reduce problem behavior and increase learning for everyone.
Read more >
when cell value changes, copy the information to a new ...
I change the value. It copies the value to sheet 2. I then change the value on sheet 1 again. It again copies...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found