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

[ACS-5505] - Custom aspect properties are not updated when removing last existing property #8828

Conversation

dominikiwanekhyland
Copy link
Contributor

…ast existing property

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
When custom aspect has only one property and you remove it, node is not updated. It is coming back from backend without 'properties' field and it wasn't merged into current node object.

What is the new behaviour?
Custom property is always updated.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@dominikiwanekhyland dominikiwanekhyland force-pushed the ACS-5505-acs-custome-aspect-properties-for-folder-are-not-reset-shown-until-we-reopen-the-details-component branch from 98f454a to c1d8f14 Compare August 28, 2023 06:50
@sonarcloud
Copy link

sonarcloud bot commented Aug 28, 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

@dominikiwanekhyland dominikiwanekhyland merged commit af3c7eb into develop Aug 28, 2023
34 checks passed
@dominikiwanekhyland dominikiwanekhyland deleted the ACS-5505-acs-custome-aspect-properties-for-folder-are-not-reset-shown-until-we-reopen-the-details-component branch August 28, 2023 09:28
jatin2008 pushed a commit that referenced this pull request Aug 28, 2023
…ast existing property (#8828)

* [ACS-5505] - Custom aspect properties are not updated when removing last existing property
jatin2008 pushed a commit that referenced this pull request Aug 29, 2023
…ast existing property (#8828)

* [ACS-5505] - Custom aspect properties are not updated when removing last existing property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants