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

IBX-5053: Handled deleted Locations in UDW-based limitations #2089

Merged
merged 6 commits into from
Mar 2, 2023

Conversation

barw4
Copy link
Member

@barw4 barw4 commented Feb 9, 2023

Question Answer
Tickets IBX-5053
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Currently, when a Location in a Subtree Limitation is not-accessible (because of current user's permissions) policy form will throw an exception and when a Location is deleted form will behave like no values were there in the first place. This can be misleading and lead to broken policies and administrators being unaware that policies were removed after saving a non-touched form (that includes removal of still valid limitations).

Additional information was added to the policy form that a Location is deleted:
image

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@barw4 barw4 force-pushed the ibx-5053-handle-deleted-location-limitations branch from fb6af47 to 29ef940 Compare February 10, 2023 13:39
@ViniTou ViniTou requested a review from a team February 17, 2023 09:12
@konradoboza konradoboza requested a review from a team February 21, 2023 07:18
@tomaszszopinski
Copy link
Contributor

@barw4 after applying patch im getting this error message:
admin-ui-2089
(no error without patch)

@barw4 barw4 requested a review from a team February 27, 2023 11:23
@barw4
Copy link
Member Author

barw4 commented Feb 27, 2023

@ezsystems/javascript-dev-team minor change in JS, so calling in for review: 0bba678

@sonarcloud
Copy link

sonarcloud bot commented Feb 27, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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
4.0% 4.0% Duplication

Copy link
Contributor

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

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

QA approved on IbexaDXP 3.3 commerce.

@mikadamczyk mikadamczyk merged commit fa4c80d into 2.3 Mar 2, 2023
@mikadamczyk mikadamczyk deleted the ibx-5053-handle-deleted-location-limitations branch March 2, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
9 participants