Composer files may changes data type

Bug #1539174 reported by Łukasz Oleś
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
Fix Released
Critical
Jedrzej Nowak

Bug Description

When data is passed from one composer file to another it may change type to different one. For example if a integer is passed to one file it will be converted to a string in a another.

We should dump data to yaml before pasting it to a yaml

Łukasz Oleś (loles)
Changed in solar:
milestone: none → 0.2.0
status: New → Confirmed
importance: Undecided → Critical
Jedrzej Nowak (jnowak)
Changed in solar:
assignee: nobody → Jedrzej Nowak (jnowak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solar (master)

Fix proposed to branch: master
Review: https://review.openstack.org/278552

Changed in solar:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solar (master)

Reviewed: https://review.openstack.org/278552
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=d06a8bbce2408650d555d4105b0750ccfe1560cb
Submitter: Jenkins
Branch: master

commit d06a8bbce2408650d555d4105b0750ccfe1560cb
Author: Jedrzej Nowak <email address hidden>
Date: Wed Feb 10 19:08:04 2016 +0100

    Fixes issue with types in composer

    It basically replaces all #{x}# to #{f(x}# where f dumps correctly to
    yaml. It's a bit hacky but it's best that we can do without major rewrite.

    Change-Id: I575c810e4ee499c406f47aaabd4fe4ae8a420263
    Closes-bug: #1539174

Changed in solar:
status: In Progress → 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.