Trackers; Validation field length for a Regex pattern is limited
- Status
- Closed
- Subject
- Trackers; Validation field length for a Regex pattern is limited
- Version
- 23.x
24.x - Category
- Error
- Developer Training
- Easy for Newbie Dev
- Feature
- Trackers
- Resolution status
- Works For Me
- Submitted by
- Bernard Sfez / Tiki Specialist
- Keep informed
- Adrien
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
On a Tiki23 I create a tracker and add an email field.
I wanted to add a validation using the validation option (edit tracker field options).I set for Type; Regular Expression (pattern)
Parameter:Copy to clipboard(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
Error Message : Enter a valid emailParameters comes from : https://stackoverflow.com/questions/201323/how-can-i-validate-an-email-address-using-a-regular-expression
On save I have the following error.
×
Error
Data too long for column 'validationParam' at row 1Even if the pattern is a bit funky, this is another "legacy" value limitation that should be removed.
- Importance
- 5
- Easy to solve?
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8017
- Created
- Tuesday 04 January, 2022 10:08:41 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Thursday 24 February, 2022 15:12:39 UTC