This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » propel-dump-data/propel-load-data bug?
propel-dump-data/propel-load-data bug? [message #25566] Thu, 12 April 2007 18:10 Go to previous message
east3rd  is currently offline 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)?

Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[resolved] Table with a column named "class"
Next Topic:mixing symfony with non symfony code?
Goto Forum:

  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software