Hi Pascal, the reason why we posted this message in the dev-group is that we think it hits the core of symfony.
There seems to be a difference when running propel-load and doing the same thing in a unit-test. This is similar to my issue, where thing go well in a browser, but identical methods break in a unit-test: http://groups.google.com/group/symfony-devs/browse_thread/thread/bfee08f12c149420?hl=en Regards Leon On Feb 5, 12:02 pm, "[MA]Pascal" <[email protected]> wrote: > Iwan, > > Please ask these kind of question on the symfony-users mailing list > (http://groups.google.com/group/symfony-users). > > This list is for the development of the symfony framework itself > rather than > general questions about using symfony. > > Regards, > [MA]Pascal > > On Feb 5, 10:04 am, Iwan van Staveren <[email protected]> wrote: > > > I have a database with i18n tables. > > > I have a some fixtures in the data directory. > > > This is what I run > > > $ ./symfony -t propel-load > > > >> propel load data from > > >> "/home/iwan/proj...ns/sfGuardPlugin/data/fixtures" > > >> propel load data from > > >> "/home/iwan/proj...ictu/develop/cms/data/fixtures" > > > Ok works fine > > > $ ./symfony -t test-unit CmsReleaseModel > > 1..37>> propel load data from > > "/home/iwan/proj...ns/sfGuardPlugin/data/fixtures" > > >> propel load data from > > >> "/home/iwan/proj...ictu/develop/cms/data/fixtures" > > > Looks like you planned 37 tests but only ran > > 0. > > > [PropelException] > > Unable to execute INSERT statement. [wrapped: SQLSTATE[23000]: > > Integrity constraint violation: 1062 Duplicate entry '898-nl_NL' for > > key 1] > > > How is this possible Both call the same the loadData from the > > sfPropelData and have access to the > > database???? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
