I've come across a similar problem, haven't had much time to try work it out
on Symfony's end, however I have proposed a change to Doctrine\Common that
would fix this - see my comment:
http://www.doctrine-project.org/jira/browse/DCOM-11
http://www.doctrine-project.org/jira/browse/DCOM-11(When the
Hello,
I wish to have a few different base (MappedSuperclass) Entities stored in my
src/vendor/company directory, but at the moment it doesnt look like the
DoctrineBundle package will process anything at that location for the
Annotation Driver.
Two questions:
1) Is it more appropiate to store
Sounds like you havent generated your Proxy objects based on the Entities.
t
On Thu, Aug 12, 2010 at 08:55, Michael excelwebz...@gmail.com wrote:
Been trying to create a simple findAll() request:
$users = $this-getEntityManager()
I set up a filter looking for (symfony2 OR symfony 2) and tag it
that way, works well.
t
On Sat, Sep 4, 2010 at 00:44, samuel zoulil...@gmail.com wrote:
ok,
I use gmail so make a filter is not a big deal but most of the subject on
symfony 2 haven't this tag in the subject.
Maybe this thread
Doctrine2 does provide this flexibility, the only snag is that there
is a PHP limitation on public properties (When using Proxies for
partial loads, a public property will misbehave). Any mapped
properties must be protected or private.
I wouldnt be looking into the cache classes for methods to use - they're
auto generated, and the format used may change. (Unlikely but possible) The
method I use to get things, based on looking at other projects at
symfony2bundles is
$em = $this-container-get('doctrine.orm.entity_manager');
You
I've been using $this-container-get('request') to get the request object.
t
On Tue, Sep 21, 2010 at 11:29, Dennis Jacobfeuerborn
djacobfeuerb...@gmail.com wrote:
I'm trying to get the Form stuff working and while I'm reasonably
successfull I'm not sure I'm doing things the right way.
The
djacobfeuerb...@gmail.com wrote:
$this-container-get('XXX') and $this['XXX'] are apparently
synonymous.
The question is how to get the 'system' parameter if you are not
supposed to use get() on the request object.
On Sep 21, 3:32 am, Tim Nagel t...@nagel.com.au wrote:
I've been using
I cant address points 2 or 3 because i do not use those functions, however
regarding point 1, I just tested switching my index.php from dev to prod and
it worked as expected without changes, reading my PHP annotations just fine.
t
But I just tested the enviroment switching dev to prod and it
Regarding the $_FILES issue, this is what I am using:
$form-bind($this-container-get('request')-request-get($form-getName()),
$this-container-get('request')-files-get($form-getName()));
t
On Sat, Oct 9, 2010 at 18:39, Bernhard Schussek bschus...@gmail.com wrote:
Hi Gustavo,
Can you show a
AM, Tim Nagel t...@nagel.com.au wrote:
Regarding the $_FILES issue, this is what I am using:
$form-bind($this-container-get('request')-request-get($form-getName()),
$this-container-get('request')-files-get($form-getName()));
t
On Sat, Oct 9, 2010 at 18:39, Bernhard Schussek
bschus
code.
t
On Sun, Oct 10, 2010 at 11:02, Gustavo Adrian
comfortablynum...@gmail.comwrote:
That's exactly what I was looking for. It works like a charm.
Thank you very much!
On Sat, Oct 9, 2010 at 7:38 PM, Tim Nagel t...@nagel.com.au wrote:
You can call move() on the File/UploadedFile
Did you include the DoctrineMongo bundle in your kernel?
t
On Wed, Oct 13, 2010 at 04:58, Daniel Kucharski dan...@inspiran.be wrote:
Hi,
I get following error when trying to access the mongo document service in
Symfony 2PR3:
*There is no extension able to load the configuration for
You still have to define each field in the form component that will be used
to bind data to the object, there is no magic plumbing.
t
On Mon, Nov 22, 2010 at 09:30, Gustavo Adrian
comfortablynum...@gmail.comwrote:
I thought on separate the setting field by field from my first example to
Chunking the data and running the import over multiple passes.
t
On Fri, Nov 19, 2010 at 02:32, Carlos Silva in...@dicarsio.com wrote:
Hi,
I have been testing Symfony 2 (and Doctrine 2) and I've created a
command to bulk insert data.
I've found that in this test, PHP is eating ~ 175Mb
They aren't the same - the Doctrine mapping data is different for each one,
depending on what you configure with the bundle.
Check out DoctrineUserBundle/Resources/config/doctrine/metadata
t
On Tue, Dec 7, 2010 at 21:45, Daniel Lohse annismcken...@googlemail.comwrote:
They are the same
Symfony2 uses namespaces,
$api = new \MCAPI('key');
Or, add a use definition to the top of the file,
use MCAPI;
t
On Thu, Dec 9, 2010 at 04:44, Scott Switzer sc...@switzer.org wrote:
Hi -
I am having an issue autoloading a 3rd party vendor class in
Symfony2. The class is the Mailchimp
There has been work ongoing to modify the mapping system and remove
autodetection.
https://github.com/fabpot/symfony/pull/264
http://groups.google.com/group/symfony-devs/browse_thread/thread/8a56914be2d5a322
t
On Sat, Dec 11, 2010 at 20:59, ev0 dark.shr...@gmx.net wrote:
Hey,
I have
You need to install the intl module
http://www.php.net/manual/en/intl.installation.php
t
2010/12/15 Carlos Sánchez carloss...@gmail.com
Hello
I have this same problem, JF Simon answer does not help me (NEWBIE),
bit more explicit pls!!!.
Thanks in advanced.
On Dec 7, 6:04 pm, JF Simon
Does mamp come with pecl?
# pecl install intl ?
t
On Wed, Dec 22, 2010 at 13:51, Michael excelwebz...@gmail.com wrote:
One of the recent Symfony2 updates force to use the Intl extension.. I
have a MAMP 1.9.4 with PHP 5.3.2. Does anyone knows how to add this
extension?
--
If you want to
You have to move the file into a proper location. I hit this issue too.
I assume that the file upload component isnt finished yet, so on my
file object (which contains $this-file for the path of the file) i
have a move function:
public function move($newPath, $uniqid = false)
{
I'd also like to add that my impression of Doctrine 2 is that you
should not be doing activities inside the entity that need the entity
manager, that it is more 'appropriate' to the design patterns used
that it occur elsewhere?
t
On Mon, Jan 3, 2011 at 04:30, Jordi Boggiano j.boggi...@seld.be
Turns out the pecl intl extension doesnt work with php 5.3, you'll
need to compile PHP with intl.
I had to install ICU4C on my mac to compile php with intl.
t
On Tue, Jan 4, 2011 at 10:10, Michael excelwebz...@gmail.com wrote:
when i run the command it asks me: Specify where ICU libraries
Doctrine2 supports namespaces for elements, HelloBundle:User is valid.
(: is the namespace separator)
t
On Sat, Jan 8, 2011 at 09:26, Tom Boutell t...@punkave.com wrote:
http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html seems to
be untested or perhaps based on something that
I've been working on an implementation too and what I've got that appears to
be working reasonably well:
https://github.com/merk/CommentBundle/blob/acl/Acl/SecurityThreadAcl.php#L96--
This is called from a command that will install the fallback Class ACE
entry.
There is no way to force them to use your service. You'll just need to make
sure they're aware of what they should be doing. You could potentially set
the entity manager to private but I dont know if thats a good idea or not.
Additionally, if you've got loads of developers who will end up doing
The system still needs to know the path of the route, it doesnt need to
direct to a controller:
See FOS\UserBundle:
https://github.com/FriendsOfSymfony/UserBundle/blob/master/Resources/config/routing/security.xml
and
You shouldnt need to define the request id, not an expert on these issues,
but I suspect it is a scope problem:
https://github.com/FriendsOfSymfony/CommentBundle/blob/master/Resources/config/creator.xml
t
On Fri, Apr 8, 2011 at 12:21, Gustavo Adrian comfortablynum...@gmail.comwrote:
Hi all,
I'm working on editing and deletion functionality for CommentBundle at the
moment. I expect to have something committed by the end of the weekend.
t
On Fri, Apr 15, 2011 at 03:53, Marc MacLeod marbe...@gmail.com wrote:
Hi all,
I'm not sure I understand how to effectively use the ACL
these systems would be
extremely helpful as well, and are very applicable to a comment
system.
Btw I plan to use the comment bundle in one of my projects in the next
month so looking forward to what you come up with.
Regards,
Marc
On Apr 14, 6:19 pm, Tim Nagel t...@nagel.com.au wrote:
I'm
To achieve this create a joining entity (UserGroup) and link it
between the User and Group entities with One to Many and Many to One.
It is no longer 'considered' a many to many according to doctrine, but
a 1:m:1.
User has many UserGroups
Group has many UserGroups
Then you can define what fields
There is no response object 'on the go'. The controller action's
responsibility is to create the response.
t
On Wed, Apr 27, 2011 at 07:59, stickaforkinme sebdang...@gmail.com wrote:
Yeah worked that one out after posting on here... although prefered
the old renderText method of sfActions in
I've been working on a solution to this issue in FOS\CommentBundle,
we've created object managers, and wrap those managers with
AclManager instances that manage the Acl.
https://github.com/FriendsOfSymfony/CommentBundle
Entity\CommentManager is the usual ORM manager which deals with
interaction
I believe I spoke to you in the IRC channel, but the simplest method
of achieving what you want is to define a method on your domain
object:
/**
* @assert:True(message=Some time constraint is bad)
*/
public function isTimeValid() { return $this-time_a $this-time_b; }
t
On Tue, May 3, 2011
I intend on working on a component for the CommentBundle to make it
linear in the near future.
I've got a few ideas on how to achieve it, be it replacing the Tree
object with something else or using a Sorter to achieve it.
Probably wont get to it for a while though.
t
On Wed, May 4, 2011 at
Your login path must be accessable to anonymous users.
- { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/login_check$, role: IS_AUTHENTICATED_ANONYMOUSLY }
# for the case of a failed login
t
On Sat, May 14, 2011 at 10:08, Zolzaya Erdenebaatar
Sorry missed it - You must have security enabled for the login form as
well (security:false is not suitable).
t
On Sat, May 14, 2011 at 10:20, Tim Nagel t...@nagel.com.au wrote:
Your login path must be accessable to anonymous users.
- { path: ^/login$, role
They're talking about: http://php.net/manual/en/class.serializable.php
Not the Serializer component in Symfony2.
t
On Mon, May 16, 2011 at 08:52, oscar balladares liebegr...@gmail.com wrote:
I'm having this problem too. Core Devs suggest to implement Serializable
interface.
Symfony has
And that is what CommentBundle is using.
t
On Fri, May 20, 2011 at 01:05, badllama77 badllam...@gmail.com wrote:
There is a class scope. So the create would apply to that.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
I'm pretty sure that the mapping information location changed between
beta1 and beta2, and UserBundle is developed alongside master symfony.
You will need to upgrade UserBundle or check out a commit that
happened before the change to the metadata move.
t
On Sat, May 21, 2011 at 00:24,
It is bad practice. You would have to mock the container in tests and
thats a big job.
In short: dont do it :-)
t
On Thu, May 26, 2011 at 18:45, Kaipi Yann ydani...@gmail.com wrote:
Hi,
As you probably know, when declaring a service in your app you can pass all
needed services as parameter
The location of bundles changed in the beta process, it used to be
/src, it is now /vendor/bundles
t
On Mon, Jun 20, 2011 at 14:25, Haulyn Jason saharab...@domix.in wrote:
You must understand what is the third party, that means you want to
use their libraries, you want to update your library
Sorry, I should say the recommended location - it doesnt really matter
to symfony2.
t
On Mon, Jun 20, 2011 at 14:50, Tim Nagel t...@nagel.com.au wrote:
The location of bundles changed in the beta process, it used to be
/src, it is now /vendor/bundles
t
On Mon, Jun 20, 2011 at 14:25
I dont think there is any point. Using the bin/vendors script and the
deps files, you can specify specific versions of the vendor
repositories you wish to pull in.
You can lock FOSUserBundle at a specific tagged release (once they
start getting tagged), or follow HEAD if you desire.
I dont see
44 matches
Mail list logo