You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When custom validation rule is defined for an attribute using "Regex Pattern" field, a duplicated field with the same value appears on the attribute's page
Steps To Reproduce
Login to oxTrust
Move to "Attributes" page
Edit attribute "Password" by adding next regex as "Regex pattern" property: ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#&()–[{}]:;'.,?/*~$^+=<>]).{8,32}$
Move to another page, then get back to "Attributes" page and open properties of the attribute modified before
Actual behavior
For some reason, additional property "Validation RegExp" appears, containing the same value set for "Regex Pattern" before. It seems like a legacy name for this field that somehow still comes up on the page. It isn't related to any feature (but better to double-check with Gasmyr or Yuriy about that).
There is also "Enable custom validation for this attribute" checkbox there which purpose isn't exactly clear. It seems to hide/unhide "Validation RegExp" field, but if you try to put something in the later and save the page, nothing seems to persist. Seems like only "Regex pattern" actually accepts input - and when this happens, "Enable custom validation for this attribute" checkbox gets set automatically.
Overall, the functionality is very confusing and needs to be streamlined.
The text was updated successfully, but these errors were encountered:
Description
When custom validation rule is defined for an attribute using "Regex Pattern" field, a duplicated field with the same value appears on the attribute's page
Steps To Reproduce
^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#&()–[{}]:;'.,?/*~$^+=<>]).{8,32}$
Actual behavior
For some reason, additional property "Validation RegExp" appears, containing the same value set for "Regex Pattern" before. It seems like a legacy name for this field that somehow still comes up on the page. It isn't related to any feature (but better to double-check with Gasmyr or Yuriy about that).
There is also "Enable custom validation for this attribute" checkbox there which purpose isn't exactly clear. It seems to hide/unhide "Validation RegExp" field, but if you try to put something in the later and save the page, nothing seems to persist. Seems like only "Regex pattern" actually accepts input - and when this happens, "Enable custom validation for this attribute" checkbox gets set automatically.
Overall, the functionality is very confusing and needs to be streamlined.
The text was updated successfully, but these errors were encountered: