riteshtijoriwala / protostuff

Automatically exported from code.google.com/p/protostuff
Apache License 2.0
0 stars 0 forks source link

YamlOutput bug on repeated message fields #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The buggy output:

--- !PList
p: !Todo[]
  - 
    key: CgFD4QlyAgAB
    content: hello 1
    priority: 1
    completed: false
  - 
      - CgFD4QlyBQAC
    content: hello 2
    priority: 1
    completed: false
  - 
      - CgFD4QlyBQAD
    content: hello 3
    priority: 1
    completed: false

The expected output:
--- !PList
p: !Todo[]
  - 
    key: CgFD4QlyAgAB
    content: hello 1
    priority: 1
    completed: false
  - 
    key: CgFD4QlyBQAC
    content: hello 2
    priority: 1
    completed: false
  - 
    key: CgFD4QlyBQAD
    content: hello 3
    priority: 1
    completed: false

Original issue reported on code.google.com by david.yu...@gmail.com on 30 Jan 2014 at 3:30

GoogleCodeExporter commented 8 years ago
Fixed @rev 1675

Original comment by david.yu...@gmail.com on 30 Jan 2014 at 3:44