-
Task
-
Resolution: Done
-
Major
-
None
In galaxy-importer:
- Add a 2000 char limit for the URL fields in collection metadata: documentation, homepage, issues, repository.
- Add a 64 char limit for authors field
For the authors field, currently the limit is noticed when there is a database error in AH, and this is displayed to the user:
{'authors': {1: [ErrorDetail(string='Ensure this field has no more than 64 characters.', code='max_length')]}}
Adding the author check to the importer allows for this to be caught in AH before import is finished, caught in Community Galaxy, and caught if the galaxy-importer cli is run by user for validation.
Issue migrated from: https://github.com/ansible/galaxy_ng/issues/162
- is duplicated by
-
AAH-208 Wrong error seen in collection upload on c.rh.com via cisco
- Closed