6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8453] YAML data merge isn't supported
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ .__ . .. . >< [ __[__)\ /|\/| / \[_./| \/ | |
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 > > > > > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers