| propel-dump-data/propel-load-data bug? [message #25566] |
Thu, 12 April 2007 18:10  |
east3rd Messages: 58 Registered: April 2006 |
Member |
|
|
Hi folks. I'm having an issue with dumping and loading data. I'm finding that if I've got a colon ( : ) in the value for a field, the loadData routine interprets it as an array, and the value that gets loaded for that field is simply the text "Array".
This only seems to be happening for single line entries in the fixtures yaml file that propel-dump-data generates. For example, the following would be problematic:
Event:
Event_1:
title: Radiohead: Live In Boston
Yet, the following works fine:
Event:
Event_2:
title: >
Radiohead: Live In Boston
Furthermore, the following also works fine:
Event:
Event_3:
title: "Radiohead: Live In Boston"
Anyone come across this issue, and know a simple workaround (aside from writing a script that cleans up propel-dump-data's output)?
|
|
|