| propel-dump-data/propel-load-data bug? [message #25566] |
Thu, 12 April 2007 18:10  |
east3rd Messages: 50 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)?
|
|
|
|
|
|
| Re: propel-dump-data/propel-load-data bug? [message #25621 is a reply to message #25566 ] |
Fri, 13 April 2007 10:52  |
halfer Messages: 6001 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
|
I think you've answered the question as to whose responsibility it is: if it can be fixed in sfPropelData, then it is a symfony responsibility (note the "sf" prefix). I recommend you raise a ticket on this topic, if one does not exist already.
|
|
|