[symfony-users] Re: cli memory problem...

2011-03-23 Thread Jonathan Franks
Hi Gabriel. Thanks! Following ur advice, I used a script to test memory usage that I found here... http://magazine.joomla.org/issues/Issue-Dec-2010/item/295-Are-you-getting-your-fair-share-of-PHP-memory?tmpl=componentprint=1 And you were right! Through the web, the script happily gets up to

[symfony-users] Method to display new relation button in ahDoctrineEasyEmbeddedRelationsPlugin

2011-03-23 Thread elitalon
I'm using the ahDoctrineEasyEmbeddedRelations plugin and it works really well for my application. However I would like to display the fields wrapped in div elements instead of rows and columns in a table. For every field I have managed to do that by calling the well known renderX methods, but I

[symfony-users] Re: cli memory problem...

2011-03-23 Thread Gabriel Petchesi
My suspicion is that the limitation is not related to PHP or Apche in any way, it's probably some setting on a system level that affects all running processes. That is why I said that you should try also with a compiled C program this test to verify that the limitation affects all processes.

[symfony-users] Re: cli memory problem...

2011-03-23 Thread Jonathan Franks
Thanks Gabriel. Since my last email, i tried to run php with the -n flag (to use no php.ini). With this flag, my script can get up to 80mb, which is the limit set by the the bash stack (i think). So it appears that it is something in or loaded by the php.ini. Looking at the output from...

[symfony-users] Many Select from relation many2many

2011-03-23 Thread Julian
Hi i have a question about the many2many realtions i know about the options for PropelChoice widget multiple and expanded but i ned change checkboxes by Selects like example category: id: ~ name: { type:varchar(100), required: true } product: id: ~ name: { type:varchar(100),

Re: [symfony-users] [Symfony2] Security ACL question

2011-03-23 Thread Gustavo Adrian
Hi Johannes, 1) My scenario is the following: a BusinessUnit has many Departments a Department has many Users So, having this example tree: BusinessUnit 1 |_ Department 1 |_ User 1 |_ User 2 |_ Deparment 2 |_ User 3 What I would like is to define rules in BusinessUnit's, and inherit

[symfony-users] @orm:PrePersist and another listeners don't work

2011-03-23 Thread Otávio
Hi all, I have an entity like this: /** * Neton\PropositalBundle\Entity\Proposal * * @orm:Table(name=proposal) * @orm:Entity(repositoryClass=Neton\PropositalBundle\Model \ProposalRepository) * @orm:HasLifecycleCallbacks */ class Proposal { /** * @var integer $id * *

[symfony-users] [symfony2] Problem with repositories with PR8

2011-03-23 Thread guiguiboy
Hi, I have installed Symfony 2 PR 8 to give it a try and I m stuck with a problem. After generating my bundle, I created yml files describing entities, which were converted to class using : php app/console doctrine:generate:entities AcmeJeudiBundle Entities classes successfully generated.

Re: [symfony-users] [Symfony2] Security ACL question

2011-03-23 Thread Gustavo Adrian
Another thing that it recently came up is this. Having no ACL or even an entry for this ObjectIdentity, if I try this: // $comment domain object was loaded from DB if ( $securityContext-isGranted( 'UPDATE', $comment ) === false ) { throw new AccessDeniedException( 'Some error message' ); }

Re: [symfony-users] [Symfony2] Security ACL question

2011-03-23 Thread Gustavo Adrian
Ok, I think I've found the reason for this behaviour. On the ObjectIdentityRetrievalStrategy class the getObjectIdentity method public function getObjectIdentity($domainObject) { try { return ObjectIdentity::fromDomainObject($domainObject); } catch

[symfony-users] Logging per-class only?

2011-03-23 Thread Eric B.
Hi, I'm somewhat new to Symfony and am trying to understand the framework better. I'm using SF1.4. Is there a way to enable different logging levels on a per-class basis? In my prod environment, I'd like to enable debug logging for a particular action only. I've looked at the logging.yml

[symfony-users] Is there a AsseticBundle Tutorial?

2011-03-23 Thread Michael
Were can I find a good tutorial/examples about this Bundle? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

Re: [symfony-users] symfony 2 + mongodb

2011-03-23 Thread Jonathan Wage
Looks like you are configuring Entity, what do the classes look like in that folder? Are the mapped to the ODM? - Jon On Tue, Mar 22, 2011 at 10:43 PM, Diego Henrique Oliveira diegoholiveira...@gmail.com wrote: I am trying to configure MongoDB to work in a different folder from the default