Development

#6644 (# not escaped in propel data dump in version 1.0.20)

You must first sign up to be able to contribute.

Ticket #6644 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

# not escaped in propel data dump in version 1.0.20

Reported by: hesky Assigned to: fabien
Priority: major Milestone:
Component: yaml Version:
Keywords: propel dump data hash escape quote Cc:
Qualification: Unreviewed

Description

I'm using version 1.0.20 and trying to dump the entire database using propel-dump-data. I have a column in the database stores hex color codes. Thus the dumped data looks like:

  hex_colour: #5F4A65

But # means comments in yaml, so when I load the dumped data, I will lose all those value after #.

Please force dump-data to add single quotes enclosure for value with # inside. Thanks.

Change History

06/20/09 14:25:44 changed by fabien

  • status changed from new to closed.
  • resolution set to wontfix.

This is a known bug/limitation of Spyc, the YAML library used in symfony 1.0. It has been fixed in symfony 1.1 with the introduction of our new library for parsing/dumping YAML.