Error for summary too long doesn't tell the required length

Bug #1621726 reported by Leo Arias
6
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: bitesize ui
Leo Arias (elopio)
tags: added: bitesize ui
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

The proposed fix adds hints for both maxLength and minLength schema validation errors: https://github.com/snapcore/snapcraft/pull/1056

summary: - Error for summary too long doesn't tell the required lenght
+ Error for summary too long doesn't tell the required length
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Kyle Fazzari (kyrofa)
Leo Arias (elopio)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.