Add length validations to ZentaoTrackerData fields
What does this MR do and why?
Add length validations to ZentaoTrackerData fields
Add maximum length validations to the following ZentaoTrackerData attrs:
- url
- api_url
- zentao_product_xid
- api_token fields
Changelog: changed
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/368465
- N.B there are currently 332 rows in the
zentao_tracker_datatable. I don't think we have data for Self-Managed.
How to set up and validate locally
- Enable the ZenTao integration at the group level.
- Attempt to save a record with long data.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by James Nutt