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

fix: inflate functions in arrays #5646

Merged
merged 2 commits into from
Mar 10, 2023
Merged

Conversation

ugur-vaadin
Copy link
Contributor

@ugur-vaadin ugur-vaadin commented Mar 9, 2023

Description

The inflateFunctions function currently does not handle functions in arrays, which causes the export buttons to break.
This is a regression introduced by a previous fix. This PR updates the logic so that the objects inside arrays are also fed into the function again.

Fixes #4696

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@ugur-vaadin ugur-vaadin marked this pull request as ready for review March 9, 2023 20:14
@sonarcloud
Copy link

sonarcloud bot commented Mar 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ugur-vaadin ugur-vaadin removed the request for review from yuriy-fix March 10, 2023 14:44
@ugur-vaadin ugur-vaadin merged commit 07792ca into main Mar 10, 2023
@ugur-vaadin ugur-vaadin deleted the 4696-charts-exporting-web-comp branch March 10, 2023 14:45
vaadin-bot pushed a commit that referenced this pull request Mar 10, 2023
* fix: inflate functions in arrays

* refactor: handle arrays in separate blocks for clarification
vaadin-bot pushed a commit that referenced this pull request Mar 10, 2023
* fix: inflate functions in arrays

* refactor: handle arrays in separate blocks for clarification
vaadin-bot pushed a commit that referenced this pull request Mar 10, 2023
* fix: inflate functions in arrays

* refactor: handle arrays in separate blocks for clarification
vursen pushed a commit that referenced this pull request Mar 10, 2023
Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com>
vursen pushed a commit that referenced this pull request Mar 10, 2023
Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com>
vursen pushed a commit that referenced this pull request Mar 10, 2023
Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants