fix: account terms can be removed if they differ with the ones stored#41120
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
Kudos, SonarCloud Quality Gate passed! |
|
@jvillafanez merge or should we ask for a second review? |
phil-davis
left a comment
There was a problem hiding this comment.
Is it easy to add a test that covers this?
If there aren't already tests for the class, I doubt it's easy
Good to merge from my side. |
Sadly, |








Description
Search terms for the accounts were only updated if new terms were present. However, if terms were removed, we weren't updating the terms.
Related Issue
No opened issue
Motivation and Context
How Has This Been Tested?
Without this patch, the "oc_account_terms" won't change, so the removed attribute can still be searched. With the patch, the table is updated
Screenshots (if appropriate):
Types of changes
Checklist: