Question
HMRC
GB
Last activity: 6 Jun 2024 5:49 EDT
Data masking is failing validation and not working on editable screen
Data masking issue
While trying to use ABAC data masking approach to mask 2 properties (account number and sort code) in our application, we have encountered the following behaviour deviating from the expected behaviour.
Application infra:
Pega Server: Pega Cloud
Pega version: Pega Infinity '23 with constellation and React as the front end
Issue details:
Issue #1:
The data masking was changing the value of the property, the validations on the properties were failing due to this. Pls refer to the screen prints below-
Data masking works as expected on the read only screens
Data masking works when the fields are editable(for the first time before editing these)
Validation (check if the fields are numbers only) fails on click of submit due to masking – clipboard shows the value as masked.
Issue#2:
When replaced the masked characters with integers on these fields, the editable screen does not mask it any further.
Pls share if anyone has experienced something similar and found any solution to the above challenges - any help is appreciated!
Thanks,
Arka Bhattacharya