Error for summary too long doesn't tell the required length
Bug #1621726 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Low
|
Kyle Fazzari |
Bug Description
When I run snapcraft using a snapcraft.yaml file with a summary that's longer than 79 characters, I get the following error:
Issues while validating snapcraft.yaml: The 'summary' property does not match the required schema: 'dynamic, functional language for building scalable and maintainable applications.' is too long
This is not so helpful, because it doesn't say that I need to reduce the summary to 79 characters.
tags: | added: bitesize ui |
Changed in snapcraft: | |
milestone: | none → 2.26 |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The proposed fix adds hints for both maxLength and minLength schema validation errors: https:/ /github. com/snapcore/ snapcraft/ pull/1056