property.from_parameter() does not use the default value

Bug #1471102 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Angus Salkeld

Bug Description

If your TemplateResource parameter has a default, this will not get carried through to the property.

Simply put, this
https://github.com/openstack/heat/blob/master/heat/engine/properties.py#L162-L168

should have default=param.default

Angus Salkeld (asalkeld)
Changed in heat:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Angus Salkeld (asalkeld)
milestone: none → liberty-2
Changed in heat:
status: Triaged → In Progress
Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-2 → 5.0.0
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.