Hi Symfony users,
How do you write functional tests when the code is in a component ?
Exemple: I used to have a form in a page, which I tested like that :
info('3 - Status')-
get('/en/user/edit-my-profile')-
click('Update your status', array('status' = array(
'status' = 'Gloubigoulba'
Hello,
I have a schema with 3 objects :
Obj
Pc
Eth
Obj has a relation with Eth (one to many)
Pc inherits from Obj
I've installed the ahDoctrineEasyEmbeddedRelationsPlugin and it works
well with Obj, but I can't get it working on Pc.
Would it be possible ? If so, how should I do it ?
Thanks
To be more precise, here's an extract from schema.yml :
=
Obj:
columns:
name:
type: string(25)
num_serie:
type: string(45)
notnull: true
relations:
Eth:
class: Eth
local: id
foreign: id_obj
type: many
cascade:
Hey there,
I'm the plugin developer.
There are few things that need work and I was much too fast to pull
the trigger on the 'stable' designation. Won't happen again.
To get to the point: may I see your schema.yml? And if you had a few
fixtures for me to work with, I'd take a closer look.
Hi,
i have tried this:
$this-filter = new BirthdayFormFilter();
$this-filter-setDefault('name', 'Peter');
and this:
$a = array('name' ='Peter');
$this-filter = new BirthdayFormFilter($a);
but they didn't work...
I forgot to say i want to give the default value
Hi all,
I have a project where i commented all include_javascripts statements
but they are included anyway.
Is it a known issue, or am i missing something?
Thank's for your help.
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this
Hi,
Another good thing would be it to avoid the creation of 1:1 related object,
as Doctrine automatically creates an item when requested. I think we should
make this an option (and correct the hasReference which always returns
true).
Cheers,
Before Printing, Think about Your Environmental
Beste,
Tot en met 18 februari ben ik niet aanwezig op kantoor.
U kunt contact opnemen met Wout Withagen: w...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c | 5017 KC Tilburg
Hi Zach,
What's the best way to collect extra information about a facebook
user, the first time they sign in with facebook connect?
you have a snippet in the Developing for Facebook chapter of the
More with symfony book
Override sfValidatorPropelUnique and define a method isUpdate() that
return always false
On 15 Feb, 15:54, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hi
I have a table with unique index of 3 columns. So I use this:
$this-validatorSchema-setPostValidator(
new
Unfortunatelly in doesn't help. Still validator passes and Propel
Exception occurs (There is already object with same partner,product
and language).
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
On Tue, 16 Feb 2010, Salim wrote:
I have a project where i commented all include_javascripts statements
but they are included anyway.
Is it a known issue, or am i missing something?
You commented them out where exactly?
Did you clear cache too?
--
--
You received this message because
My Symfony project is a CMS for a public site.
I have two apps : a backend and a frontend.
With the backend I manage pages, articles, news, pages templates, ...
The frontend is used to navigate on the public site.
In the backend, I implemented a preview system.
To do that, I moved the modules
Hi all,
are there any plans that this issue will be fixed in an upcoming
version of symfony?
http://trac.symfony-project.org/ticket/7272
If not, i think it would be a good idea to mention this in docs.
http://www.symfony-project.org/more-with-symfony/1_4/en/09-Doctrine-Form-Inheritance
:
...
Hi,
I recently profiled a symfony project (using XDebug) containing a
largish number of nested components and partials.
If I sort the profiling output by the time spent in the individual
functions, sfOutputEscaper::unescape() and html_entity_decode() are
usually among those with top ranks
Hi all,
I am pretty new to symfony and would be grateful for anyones advice.
I'm trying to work out how to implement an object ownership
permissions system.
sfGuard seems to do everything except allow me to assign permissions
per object.
ie: joe bloggs can edit documents, 1,2 4 but (by
Dear symfonians,
I am a PhD student in social science conducting research on the social
practice of writing and reading computer code, within open source
projects like symfony.
I would like to take the opportunity of the symfony live conference
this week to interview some members of the symfony
symfony 1.2:
I have one problem:
DB abstract layer works good with MySQL, but can't parse properly SAME
schema.yml for MSSQL .
Errors are like this:
SQLSTATE[HY000]: General error: 10007 Could not create constraint.
See previou
s errors. [10007] (severity 5) []. Failing Query: CREATE TABLE
Hi,
http://pastebin.com/m1508fa42
This is by-object basis without taking care of inheritance (thus
inferencing isn't coded).
If you do so, I would really enjoy seeing the code ;-)
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre
Hi
is there a way to change l10n .dat files for a project? I just want to
change the shortdate pattern and i dont want to change the .dat files
it self.
Is the a yml file where i can put the locate information?
Thanks
--
You received this message because you are subscribed to the Google Groups
I need to get the same that this link says
http://www.blackfinsoftware.com/wordpress/2009/02/automating-__tostring-in-symfony/
but for Doctrine Admin Generator for Symfony 1.4, any clues ?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
Hey!
I want to use this plugin ckWebServicePlugin for develop my WS.
In the first time, it easy to test a basic function like Multiply.
But I want to return an object Doctrine and I have an error :
[16-Feb-2010 11:49:56] PHP Fatal error: SOAP-ERROR: Encoding: object
hasn't 'canCid' property
yes I cleaned the cache.
I just figured out that it was sfCommonFilter that includes CSS and JS
even if you don't want them.
So include_stylesheets and include_javascripts are no more needed in
layouts.
On 16 fév, 14:40, Eno symb...@gmail.com wrote:
On Tue, 16 Feb 2010, Salim wrote:
I have a
hm no one with the same problem here?
On 15 Feb., 14:41, axel at axel.zu...@gmail.com wrote:
hello,
using symfony 1.4 with doctrine:
how can I add an order by xy to the default doctrine getter
example:
Event:
columns:
id:
type: integer(4)
primary: true
title:
I think there were topic like that, and if I remember right the answer
is bad ... it's not possible.
On 16 ún, 15:51, axel at axel.zu...@gmail.com wrote:
hm no one with the same problem here?
On 15 Feb., 14:41, axel at axel.zu...@gmail.com wrote:
hello,
using symfony 1.4 with
Isn't changing the project name only about changing the text in the
properties.ini?
On 15 ún, 22:26, Sid Bachtiar sid.bacht...@gmail.com wrote:
I think you can just rename the folder, but the safest thing to do is
to do text search of any occurrence of your project name in all files
in the
Hey Stéphane,
did I miss something? I'm not following. :)
Can you elaborate more about your last post?
Thanks!
Daniel
On 16.02.2010, at 13:52, Stéphane wrote:
Hi,
Another good thing would be it to avoid the creation of 1:1 related object,
as Doctrine automatically creates an item when
Hi Danilo,
this is not possible.
If you have a copy of symfony per project you can hack this, but that
is not intended.
If you want to have a specific format I would recommend to ensure that
yourself rather to take the I18N classes that use the official
CLDR/ICU formatting
Fabian
--
You
Hello,
What is the error?
Have you cleared your navigation history/cache ? ( firefox seems to
keep the selected values... )
On 16 fév, 13:42, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have tried this:
$this-filter = new BirthdayFormFilter();
Is a problem to set this default filter value in the
profilesGeneratorConfiguration class? ... create a method
getFilterDefaults() and return an array with default filter values.
Or you need to set this in the action?
On 16 ún, 13:42, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have
On 2/16/2010 10:12 AM, Tom Ptacnik wrote:
Is ID set as primary key in the TEspecialidad table?
I found the problem, the PK is compound by 3 fields and Doctrine have
problems with this (as far as I know). The solution: leave the PK with
just one field.
--
Cheers
ReynierPM
--
You received
On 02/16/2010 04:19 PM, Florian wrote:
What is the error?
Have you cleared your navigation history/cache ? ( firefox seems to
keep the selected values... )
Yes, i cleared it but the default value is not showed..
There isn't any error.
--
You received this message because you are
On 02/16/2010 04:26 PM, Tom Ptacnik wrote:
Or you need to set this in the action?
Yes, i need to set this in the action.
--
You received this message because you are subscribed to the Google Groups symfony
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To
Hi Guys,
I am new to symfony. Anyway, I find it easy to follow the jobeet
tutorial using Nginx (instead of Apache).
However, I have a problem in the Day 3 jobeet actions.
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03
All the links created in the index, edit, show becomes job/job and
I give you more code: I have this code below in the index template. The
filter form (without Peter as default value, of course..) and Peter
are showed.
?php use_helper('Form'); ?.
?php echo form_tag('birthday/filtrar') ?
?php echo $filter; ?
div?php echo submit_tag('Filter') ?/div
/form
On Tue, 16 Feb 2010, Arthur Ccube wrote:
I am new to symfony. Anyway, I find it easy to follow the jobeet
tutorial using Nginx (instead of Apache).
However, I have a problem in the Day 3 jobeet actions.
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03
All the links created in
Oh... I have a fix for that in my local repo. If the relation is 1:1 and it
already has a record then I don't show the add empty form. So the user can
then only edit that record or delete it.
But I smell a bug there... oh, nevermind my previous sentence above. I think
that's really a bug
Basically, the related table is an association table :
VitrineLivre:
actAs: { Timestampable: ~ }
columns:
vitrine_paragraphe_id: { type: integer(4), primary: true }
livre_id: { type: integer(4), primary: true }
relations:
Livre:
type: one
local: livre_id
Hi, here is my working configuration nginx / fastcgi :
server {
listen 80;
server_name www..com;
root /../web/;
index index.php;
location / {
if (-f $request_filename) {
expires max;
break;
hi , i has the same problem but try this.
create your schema with a tool may be mysql-query-browser and after
run symfony doctrin:build-schema, build-model , build-filters ,
build-forms
when your need add a filed, add fileld with mysql-query-browser and
after rebuild your schema.
regards , sorry
Hi, if someone are not going to sfLive i would like know how to change
the default class which generate route (replace sfRoute by my own
generate route class which extends sfRoute), may be with
sfCoreAutoload::make() or a configuration file ?
Thxs.
--
You received this message because you are
Here at #sflive2010 I've talked to many people who drew a blank when I
mentioned Apostrophe but recognized pkcontextcms, the old name for our
Symfony-based content management system.
That was a helpful reminder that we might not have emphasized this
clearly: Apostrophe is the new name of
That's not really true. First of all, sfCommonFilter has been
deprecated in 1.3 and removed in 1.4 [1], and with the include
functions you can specify where to put the include statements (like
javascripts are recommended to be included right before the /body
tag).
[1]
On 16 fév, 13:40, Daniel Lohse annismcken...@googlemail.com wrote:
Hey there,
I'm the plugin developer.
There are few things that need work and I was much too fast to pull
the trigger on the 'stable' designation. Won't happen again.
To get to the point: may I see your schema.yml? And
Hey , this is an information about the current preview system.
Because all partials and all components use by the selected layout are
in the frontendPlugin, I just have to prepare datas in the action to
render the preview.
Thanks to Doctrine relations I don't have to save any object's
On Feb 16, 7:05 pm, Mikael mikael.kermorg...@gmail.com wrote:
On 16 fév, 13:40, Daniel Lohse annismcken...@googlemail.com wrote:
Hey there,
I'm the plugin developer.
There are few things that need work and I was much too fast to pull
the trigger on the 'stable' designation. Won't
Anyone knows why the subject of the thread change?
Javi
On Feb 16, 5:56 pm, NOOVEO - Christophe Brun c.b...@nooveo.fr
wrote:
Basically, the related table is an association table :
VitrineLivre:
actAs: { Timestampable: ~ }
columns:
vitrine_paragraphe_id: { type: integer(4), primary:
So, to clarify: there was no issue here. Please be so kind to answer that
because I don't want people hanging in the balance with code that does not work.
Cheers, Daniel
On 16.02.2010, at 19:36, Mikael wrote:
On Feb 16, 7:05 pm, Mikael mikael.kermorg...@gmail.com wrote:
On 16 fév, 13:40,
On Feb 16, 8:19 pm, Daniel Lohse annismcken...@googlemail.com wrote:
So, to clarify: there was no issue here.
Exactly.
Regards,
Mikael
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
On 02/16/2010 01:50 PM, Salim wrote:
Hi all,
I have a project where i commented all include_javascripts statements
but they are included anyway.
Is it a known issue, or am i missing something?
Thank's for your help.
Have you tried plugin:publish-assets? In the inverse direction (i had
Hi, I am at sfLive.. :-)
One (maybe not the single possible) answer to your question: specify
your custom route class in routing.yml.
For the details, see the beginning of this chapter:
http://www.symfony-project.org/reference/1_4/en/10-Routing
Cheers, RAPHAEL
--
You received this message
I see no solutions, sfRoute was define in sfRoutingConfigHandler, so
go to define in routing.yml
On 16 fév, 18:23, Mathieu Tricoire mathieu.trico...@gmail.com wrote:
Hi, if someone are not going to sfLive i would like know how to change
the default class which generate route (replace sfRoute by
Hello folks,
I suppose this may be more for the Propel folks, but I thought I'd reach
out here. I just rebuilt my desktop dev machine with Ubuntu 9.10, and now
have a strange error that did not occur in previous versions of Ubuntu, or
on our staging / QA / production servers, which all run
My apologies if I misunderstood your question, and perhaps you may
elaborate a bit more on your specific situation. You want to replace
sfRoute by your own class in general for all routes (unless explicitly
specified in routing.yml)? What sort of routes have you then defined
in routing.yml, e.g.
Hey there,
so... after a little fight with my new friend git and GitHub my bugfixes are
finally available to you.
I fixed a few things, just have a look at the changelog. Working with
1:1-relations is now easier and doesn't embed the add new form if there
already is a related object – stupid
55 matches
Mail list logo