No error if `after` specifies part that doesn't exist

Bug #1799596 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Kyle Fazzari

Bug Description

Snapcraft is perfectly happy running with the following YAML snippet:

parts:
  part1:
    plugin: nil
    after: [no-such-part]

  part2:
    plugin: nil

Note that `no-such-part` isn't defined. This should be an error. I suspect this is left over from the remote parts logic.

Kyle Fazzari (kyrofa)
description: updated
Changed in snapcraft:
milestone: none → 3.0.1
Kyle Fazzari (kyrofa)
Changed in snapcraft:
importance: Undecided → High
Changed in snapcraft:
assignee: nobody → Kyle Fazzari (kyrofa)
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: New → In Progress
Kyle Fazzari (kyrofa)
Changed in snapcraft:
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.