Custom Field validation extension

Hello all,
just extended the CFValidations in
/opt/rt4/local/html/Admin/CustomFields/Modify.html by
’(?#Version)^[0-9.-]+$’,
’(?#Optional Version)^([0-9.
-]+)?$’,

Unfortunately the CF input still does not accept string “8.15-1” and
report “Broken in: Input must match [Optional Version]”.
The Mason cache was cleaned prior the ticket creation.
Am I doing something wrong?

Peter Viskup

Discovered the issue.
The CF Validation string is saved as attribute within the CF
creation/modification. The CF’s Validation string showed the old
version of that regexp.
Thus once the CFValidation string is changed, the CF itself (using
this validation string needs) to be assigned with the new string using
the Admin/CF/Modify interface.

Peter ViskupOn Mon, Jun 13, 2016 at 11:13 AM, Peter Viskup skupko.sk@gmail.com wrote:

Hello all,
just extended the CFValidations in
/opt/rt4/local/html/Admin/CustomFields/Modify.html by
’(?#Version)^[0-9.-]+$’,
’(?#Optional Version)^([0-9.
-]+)?$’,

Unfortunately the CF input still does not accept string “8.15-1” and
report “Broken in: Input must match [Optional Version]”.
The Mason cache was cleaned prior the ticket creation.
Am I doing something wrong?


Peter Viskup