Underscores in app names cause inscrutable error
Bug #1606890 reported by
Dan Watkins
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
With the following apps stanza:
apps:
foo_bar:
...
snapcraft will fail with an error message that looks like this:
Issues while validating snapcraft.yaml: The 'apps' property does not match the required schema: Additional properties are not allowed ('foo_bar' was unexpected)
This doesn't explain what the error is at all, and it took a lot of trial and error to work it out.
Changed in snapcraft: | |
assignee: | nobody → Simon Quigley (tsimonq2) |
status: | Confirmed → In Progress |
Changed in snapcraft: | |
assignee: | Simon Quigley (tsimonq2) → nobody |
Changed in snapcraft: | |
status: | In Progress → Triaged |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.35 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Setting importance to high because this could make packagers to waste a lot of time while trying to figure out the error.