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 incorrect way of checking UI Element names in Data Anonymization page raised in issue #19 #20

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

sacheinbaala
Copy link
Member

  • In Data Anonymization Rules page, TextBox and ComboBox names inside the Scrub Rule panel are created with the logic of appending the ruleIndex value (refer "CreateScrubRule" method).

  • But while trying to fetch the values of the scrub rule elements ( refer "getScrubRules" method), the logic used for retrieving the element name just takes the substring leaving the last character alone. This would return the expected values only for elements added with single-digit rule index and would result in validation error for elements with ruleIndex greater than 9.

@sacheinbaala
Copy link
Member Author

This PR would fix issue #19

@sacheinbaala sacheinbaala changed the title Fix incorrect way of checking UI Element names in Data Anonymization page raised in issue #11 Fix incorrect way of checking UI Element names in Data Anonymization page raised in issue #19 Apr 24, 2020
@sacheinbaala sacheinbaala deleted the users/baala/fix_issue#11 branch April 24, 2020 02:05
@sacheinbaala sacheinbaala restored the users/baala/fix_issue#11 branch April 24, 2020 02:08
@sacheinbaala sacheinbaala reopened this Apr 24, 2020
@kranthimeda kranthimeda merged commit ff509a4 into microsoft:master Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data anonymization rules - Adding more than 9 rules results in validation error
2 participants