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

bugfix/13710-pie-drawempty-regression #13770

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

goransle
Copy link
Member

@goransle goransle commented Jun 25, 2020

Fixed #13710, a regression causing errors on empty pie series.

Seems this one snuck out from the fix in 8.12.

With fix: https://codesandbox.io/s/highcharts-vue-demo-b37nm?file=/src/main.js
Without fix: https://codesandbox.io/s/highcharts-vue-demo-ye65e

@highsoft-bot highsoft-bot added this to Pending Review in Development-Flow via automation Jun 25, 2020
@highsoft-bot highsoft-bot moved this from Pending Review to In progress in Development-Flow Jun 25, 2020
@highsoft-bot
Copy link
Collaborator

Visual test results - No difference found

@highsoft-bot
Copy link
Collaborator

highsoft-bot commented Jun 25, 2020

File size comparison

master candidate difference
highcharts 263.4 kB 263.4 kB 4 B
highcharts, gzipped 91.2 kB 91.2 kB -18 B
highstock 342.1 kB 342.1 kB 4 B
highstock, gzipped 117.3 kB 117.4 kB 93 B
highmaps 311.9 kB 311.9 kB 7 B
highmaps, gzipped 106.6 kB 106.6 kB -31 B
highcharts-gantt 354.7 kB 354.7 kB 7 B
highcharts-gantt, gzipped 121.4 kB 121.4 kB 5 B

@goransle goransle added the Changelog: Bugfix Use on PR to add description as a bugfix in the generated changelog. label Jun 25, 2020
@goransle goransle changed the title Fixed #13710, error on empty pie bugfix/13710-pie-drawempty-regression Jun 25, 2020
@goransle goransle marked this pull request as ready for review June 25, 2020 11:49
@pawelfus
Copy link
Contributor

I might be wrong, but shouldn't we:

  • import renderer: import SVGRenderer from '../parts/SVGRenderer.js';
  • then use SVGRenderer.prototype.symbols ?

What do you think @bre1470 ?

Copy link
Contributor

@pawelfus pawelfus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@bre1470 bre1470 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bre1470 Looks like another case where the Highcharts namespace slipped through and passed the ESLint validation... Can we update the validation to catch this?

I'm merging this PR though, as it is critical. But we should have a test that catch it in the QA process.

@TorsteinHonsi TorsteinHonsi merged commit 0e897db into master Jun 29, 2020
Development-Flow automation moved this from Pending Review to Done Jun 29, 2020
@TorsteinHonsi TorsteinHonsi deleted the bugfix/13710-pie-drawempty-regression branch June 29, 2020 08:52
yrambler2001 pushed a commit to UpLab/highcharts that referenced this pull request Jul 7, 2020
@felipemfp
Copy link

felipemfp commented Jul 11, 2020

@TorsteinHonsi when this fix will be released? I'm asking because in our project we need the vulnerability fix on latest, but Pie charts are broken without this PR, so it would be awesome if you could release a patch.

@pawelfus
Copy link
Contributor

Next release will be probably in August, date is not specified yet. It's a regression, so you can use either v8.1.0 or modify the source code (replace Highcharts.SVGRenderer with H.SVGRenderer).

@felipemfp
Copy link

felipemfp commented Jul 20, 2020

Next release will be probably in August, date is not specified yet. It's a regression, so you can use either v8.1.0 or modify the source code (replace Highcharts.SVGRenderer with H.SVGRenderer).

v8.1.0 has a vulnerability issue, and I really didn't want to patch highcharts. We had four releases in March, 2 in June... why couldn't we get 1 in July?

@bre1470
Copy link
Contributor

bre1470 commented Jul 20, 2020

Hi @felipemfp!
Consider using the current nightly for development until the next release: npm install --save highcharts/highcharts-dist#nightly. See https://github.com/highcharts/highcharts-dist#install-nightly-build
The nightly will stay the same for the next two weeks because of national vacations in Norway.

@bre1470 bre1470 added this to the next milestone Aug 19, 2020
@Izothep Izothep removed this from Done in Development-Flow Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Use on PR to add description as a bugfix in the generated changelog. Product: Highcharts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error rendering empty pie charts after upgrading to 8.1.1
6 participants