6.0.0-alpha10
5/14/25

[#8453] YAML data merge isn't supported
Summary YAML data merge isn't supported
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Assigned
Priority 1. Low
Owners mike (at) naberezny (dot) com
Requester tacman (at) gmail (dot) com
Created 07/24/2009 (5773 days ago)
Due
Updated 09/24/2010 (5346 days ago)
Assigned 07/24/2009 (5773 days ago)
Resolved
Milestone
Patch No

History
09/24/2010 10:21:27 PM Jan Schneider Version ⇒ Git master
 
07/24/2009 11:53:28 AM Jan Schneider Assigned to Mike Naberezny
State ⇒ Assigned
 
07/24/2009 11:44:20 AM tacman (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ YAML data merge isn't supported
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
It looks like hash references and data merges aren't working.  I was 
running the example from wikipedia,

http://en.wikipedia.org/wiki/Yaml#Data_merge_and_references, and 
instead of merging the data for the second step,

it's creating an array value of '>>' and populating that.



# sequencer protocols for Laser eye surgery

---

- step:  &id001                  # defines anchor label &id001

     instrument:      Lasik 2000

     pulseEnergy:     5.4

     pulseDuration:   12

     repetition:      1000

     spotSize:        1mm



- step:

      <<: *id001                  # merges key:value pairs defined in 
step1 anchor

      spotSize:       2mm         # overrides "spotSize" key's value



- step:

      <<: *id001                  # merges key:value pairs defined in 
step1 anchor

      pulseEnergy:    500.0       # overrides key

      alert: >                    # adds additional key

            warn patient of

            audible pop








Saved Queries