-
Notifications
You must be signed in to change notification settings - Fork 52
Data in fields with Regex formats changes appearance in 7.12+ #8129
Copy link
Copy link
Labels
2 - App ResourcesIssues that are related to app resourcesIssues that are related to app resources2 - User InterfaceIssues that are related to the user interface or user experience.Issues that are related to the user interface or user experience.regressionThis is behavior that once worked that has broken. Must be resolved before the next release.This is behavior that once worked that has broken. Must be resolved before the next release.
Description
Activity
Metadata
Metadata
Assignees
Labels
2 - App ResourcesIssues that are related to app resourcesIssues that are related to app resources2 - User InterfaceIssues that are related to the user interface or user experience.Issues that are related to the user interface or user experience.regressionThis is behavior that once worked that has broken. Must be resolved before the next release.This is behavior that once worked that has broken. Must be resolved before the next release.
Describe the bug
The visual editor in the Field Formatters/UIFormatters changes regex field formats in v7.12.0+. The entry for the
value=""attribute is altered in both the XML and visual editor after using this version.Further, fields with these formats show changed values in query results and on the forms.
This was introduced in #5075 with commit fd49c36
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Regex field format definitions should remain the same in the Field Formatters/UIFormatters file. Fields shouldn't have appear to have data changes/loss in queries or on forms in a new version.
Screenshots
If applicable, add screenshots to help explain your problem.
v7.11.4v7.12Screen.Recording.2026-05-28.at.11.50.40.AM.mov
Please fill out the following information manually:
Reported By
CSIRO in 795
Additional context
Testing based on the following format:
In v7.12.0, the visual editor shows "CANB|CBG|CNS|JCT|QRS)-([0-9]{4})-([0-9]{3}" in the value field. The XML editor has
value="/^(CANB|CBG|CNS|JCT|QRS)-([0-9]{4})-([0-9]{3})$/ "