[symfony-users] Output escaping and components

2010-05-31 Thread ColinFine
If output escaping is enabled, how can you get at the raw values in a component? I rather think I'm hitting a bug in sfOutputEscaperObjectDecorator (see below), but there should be a workround using an equivalent of $sf_data, but I can't find it. Chapter 7 explains how in a partial you can use

[symfony-users] Column type 'char' mistreated by Doctrine.

2009-10-25 Thread ColinFine
The symfony and Doctrine book, in chapter 4, has a table headed 'data types', which includes inter alia 'char'. The Doctrine manual, chapter 7, lists column types and does not include 'char'. I decided to try Doctrine in a new project, having only used Propel before. Working from the symfony and

[symfony-users] Re: Doctrine and postgresql: unknown database attribute type: _bpchar

2009-10-19 Thread ColinFine
On Oct 18, 10:02 am, ColinFine colin.f...@pace.com wrote: I want to start a new symfony (1.2) project, building on an existing Postgresql database. Then I ran symfony doctrine:build-schema --env=initial_setup It is clearly connecting OK, but gives nothing but an error message: unknown

[symfony-users] Doctrine and postgresql: unknown database attribute type: _bpchar

2009-10-18 Thread ColinFine
I want to start a new symfony (1.2) project, building on an existing Postgresql database. Since I've never tried Doctrine and it seems to be the way things are going, I thought I'd give Doctrine a go; but I've fallen at the first hurdle. In my databases.yml I added an extra environment that

[symfony-users] Re: Deployment Scenarios (DB Specific)

2009-09-14 Thread ColinFine
On Sep 13, 8:34 pm, Fotis Paraskevopoulos fota...@gmail.com wrote: Hello All, I would like to ask the group the different deployment scenarios that have been setup. I am specifically looking for some information on how you manage your database deployment when some changes need to be made.

[symfony-users] Unit tests - accessing propel items by label

2009-08-26 Thread ColinFine
I'm doing my first unit tests, with a database fixture loaded from a yml file by sfPropelData::loadData. Is there a way of referring in the test to objects in the fixture by their labels in the yml? eg suppose in the yml I have MyClass: myclass_1: name: ... etc. Then if I want this