Hi, I just tested here and the pre/postPersist is fired when you insert a
new entity. Remember that Pre/PostUpdate is fired when you update the entity
and Pre/PostPersist is triggered when you insert a new entity.
- Jon
2011/3/24 Otávio Augusto Rodrigues Fernandes
> Hi all,
>
>I have put th
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
> defaul
Are you sure the method is not invoked?
- Jon
On Wed, Mar 23, 2011 at 1:37 PM, Otávio wrote:
> Hi all,
>
> I have an entity like this:
>
> /**
> * Neton\PropositalBundle\Entity\Proposal
> *
> * @orm:Table(name="proposal")
> * @orm:Entity(repositoryClass="Neton\PropositalBundle\Model
> \Pro
Can we see your ORM mappings configuration?
- Jon
On Thu, Mar 10, 2011 at 2:38 AM, jdewit wrote:
> I get the error.
>
>
> [RuntimeException]
>
> Repository Application\MsmBundle\Entity\Repository\JobRepository and
> bundle don't have a common namespace, generation failed because the target
> d
Hi,
You just need to define your mapping files as yaml or xml then
generate:documents from them using the CLI.
- Jon
On Wed, Mar 9, 2011 at 10:27 AM, HiDDeN wrote:
> Is there a way to define the collection configuration and then
> generate the document classes through the command line? I mean
>
Hi,
Can I see your configuration?
- Jon
On Wed, Mar 9, 2011 at 11:17 AM, HiDDeN wrote:
> It seems this is occuring when using Memcache as the metadata cache.
>
>
> On 9 mar, 11:43, HiDDeN wrote:
> > I have just downloaded the PR7 version of Symfony2, and tried to
> > create a schema for MongoD
Hi,
Yes. It cascades to all references automatically in Doctrine1. In Doctrine2
each reference must have cascading specifically enabled. This is for
performance reasons that it is off by default.
- Jon
On Mon, Feb 28, 2011 at 4:59 PM, keymaster wrote:
> I've searched the Symfony/Doctrine docum
Hi,
Make your form class a service prototype and then you can inject anything
you want and retrieve instances of the form from DIC. Essentially the DIC
becomes your form factory.
- Jon
On Thu, Mar 3, 2011 at 9:48 PM, Jan Eichhorn wrote:
> Hi,
>
> actually i want to add an "Dynamic" Choice Fiel
The configuration for the latest version in git should look like the
following:
doctrine:
dbal:
dbname: dbname
orm:
auto_generate_proxy_classes: true
mappings:
MainBundle: ~
- Jon
On Wed, Mar 2, 2011 at 5:54 PM, liuggio wrote:
> I suggest to use the
Hi,
I think the issue is you need to configure the oracle date format to be
something that PHPs strtotime can parse. I think the documentation mentions
something about this somewhere.
Thanks, Jon
On Fri, Dec 3, 2010 at 9:55 AM, Zuchuat Bertrand
wrote:
> Hi,
>
> I would like to use the definitio
Russ, is it possible to move the plugin to git?
- Jon
On Mon, Aug 30, 2010 at 1:32 AM, Maxim Oleinik wrote:
> > Have you even tried to contribute to the original plugin first?
> > It would be nice if the changes can be made in the original
> sfDoctrine2Plugin instead of having 2 of them.
>
> Rig
It would be nice if the changes can be made in the original
sfDoctrine2Plugin instead of having 2 of them.
- Jon
On Sun, Aug 29, 2010 at 12:35 PM, rooster (Russ) wrote:
> Have you even tried to contribute to the original plugin first?
>
> On Aug 29, 6:16 pm, Maxim Oleinik wrote:
> > Does anybod
Hmm, are you using the latest versions?
- Jon
On Mon, Aug 23, 2010 at 4:57 PM, Michael wrote:
> I'm trying to move from MySQL to MongoDb, and start creating a test
> class:
>
>
> namespace Bundle\TestBundle\Document;
>
> /**
> * User
> * Represents a particular user.
> *
> * @Document(db="
Yes, you need to remove the entire field from the form, not just the widget.
- Jon
On Tue, Aug 24, 2010 at 1:22 AM, Christopher Schnell <
christopher.schn...@mda.ch> wrote:
> Hi,
>
> I did unset the widgets, but that wasn't enough. Francois helped me then on
> the propel list. I simply forgot to
Hi,
It is the same issue as the other of your e-mails. It is not supported right
now, we just need to improve what is allowed to be specified in the
application configuration to create the DI container.
- Jon
On Mon, Aug 23, 2010 at 3:57 PM, Aaron DM wrote:
> I am trying to create a custom map
Hi,
We need to allow you to specify these things from the config.yml/config.xml.
Can you create a ticket to improve this?
Thanks, Jon
On Tue, Aug 24, 2010 at 12:58 PM, Aaron DM wrote:
> How do I configure Doctrine\ORM\Configuration?
>
> Like, I want to add a new DQL function I made; and to reg
In Doctrine 1.2 Doctrine was moved to Doctrine_Core and Doctrine extends
Doctrine_Core for backwards compatability.
- Jon
On Mon, Aug 16, 2010 at 1:29 PM, RusAlex wrote:
> When we need to use Doctrine_core::getTable() and when we can use only
> Doctrine::getTable() methods?
>
> --
> If you want
Hi,
Try using the command.pre_command event to execute the SQL before
fixtures are loaded.
http://www.symfony-project.org/reference/1_4/en/15-Events#chapter_15_sub_command_pre_command
- Jon
On Sun, Jul 25, 2010 at 7:33 PM, Michael Hodges wrote:
> Hello all,
>
> Currently I manually set the aut
ng a tag in the svn repository .. named like the package 5.0.0?
>> Then I can use the svn:externals and don't worry about some future
>> changes which wouldn't be compatible with my app.
>>
>> On 22 čnc, 18:12, Jonathan Wage wrote:
>>
>> &g
We added the forgot password, register, etc. functionality. Everything
else stayed the way it was.
- Jon
On Thu, Jul 22, 2010 at 3:40 AM, Sela Yair wrote:
> what actually did you change in the 5.0.0 release?
>
> On 18 July 2010 19:37, fizyk wrote:
>>
>> Hello,
>> I'm trying to upgrade sfDoctrin
Nice work! I saw this on twitter. It looks great!
- Jon
On Wed, Jul 21, 2010 at 2:13 PM, Jesse wrote:
> I would like to announce that Symfony is now under the hood of the
> freshly re-launched startrek.com. Complete with a welcome letter from
> Leonard Nimoy himself the new Startrek.com is runni
Are you using symfony? If not, make sure you are using conservative
model autoloading. If you are in symfony your models can just go in
the lib directory and symfony will autoload them.
- Jon
On Tue, Jul 20, 2010 at 6:28 AM, Csaba wrote:
> Hello,
>
> (Sorry for writing here, I know there is a Do
Ok. Try now. You can upgrade to 4.0.3 for the remember me fix and
5.0.0 is trunk with the new functionality. Sorry about that!
Thanks, Jon
On Mon, Jul 19, 2010 at 9:43 AM, Jonathan Wage wrote:
> Yes, it was a mistake. I need to release the 1.3 branch as 4.0.3 now
> and I'll package t
Yes, it was a mistake. I need to release the 1.3 branch as 4.0.3 now
and I'll package trunk as 5.0.
- Jon
2010/7/19 Michał Piotrowski :
> Hi,
>
> 2010/7/19 Jonathan Wage :
>> Hi,
>>
>> Hmm, what other changes were there?
>
> It looks like a full trunk
Oh, I see the problem. One second I need to create another package.
- Jon
On Mon, Jul 19, 2010 at 9:38 AM, Jonathan Wage wrote:
> Hi,
>
> Hmm, what other changes were there? I didn't intend to do this.
>
> - Jon
>
> On Sun, Jul 18, 2010 at 1:37 PM, fizyk wrote:
Hi,
Hmm, what other changes were there? I didn't intend to do this.
- Jon
On Sun, Jul 18, 2010 at 1:37 PM, fizyk wrote:
> Hello,
> I'm trying to upgrade sfDoctrineGuardPlugin to the new version, and at
> first found that surprised that although in changelog said there was
> only change (fix) to
Hi,
It is a known issue and we're discussing a solution.
Thanks for reporting it and the information.
- Jon
On Thu, Jul 15, 2010 at 5:37 PM, Tim Nagel wrote:
> 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 D
Hi,
I am working on the issue. Can you try and create a Doctrine test case that
demonstrates the problem? So we can test patches against it.
- Jon
On Tue, Jul 6, 2010 at 10:04 AM, Olivier wrote:
> Hello,
>
> We are using a Symfony/Doctrine setup with multiple databases... We've
> ran into a fe
Hi,
It has not been started yet.
- Jon
On Sat, Jul 3, 2010 at 10:40 AM, Juan Alberto V. wrote:
> Hi!, does anyone know about the status of admin generator in Symfony 2 ?
>
> Thanks,
> Juan V.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfon
Hi,
The documentation is wrong currently. The DoctrineController has a method
getDatabaseConnection():
$conn = $this->getDatabaseConnection();
This is also right too if you go directly to the container:
$conn = $this->container->getDatabaseConnectionService();
The DoctrineController
Put it in a web accessible folder under apache and open the url.
- Jon
On Mon, May 31, 2010 at 7:56 AM, RedQueen wrote:
> On the main page of Symfony we can find a lot of guides. And it really
> help but sometime it dont answer all questions. One of this question
> is "What if I don't want any
It is a bug for sure. We'll take a look and see if we can come up with a
workable patch.
Thanks, Jon
On Thu, May 27, 2010 at 6:52 PM, Ozzy wrote:
> Anyone? This causes a problem in my site as there are users learned
> it. That is why this is very urgent for me.
>
> On May 27, 7:50 pm, Ozzy wro
Hi,
What URLs are you trying to access? The site URLs were restructured. I tried
to route the old URLs but I may have missed some.
- jon
On Fri, May 14, 2010 at 6:53 PM, Sid Bachtiar wrote:
> Hi,
>
> I can't seem to find Doctrine's documentation anymore. Anyone else
> having the same problem?
>
Yes, you need to use createQuery() instead of findBy at that point.
- Jon
On Tue, Apr 27, 2010 at 10:10 AM, metaphist wrote:
> Is there a way to pass an ORDER BY to the Doctrine findBy method? Or
> do I have to create a custom query at that point?
>
> --
> If you want to report a vulnerability
and what you mean? I don't ever run queries in my templates.
Do you?
- Jon
> On Apr 22, 5:31 pm, Jonathan Wage wrote:
> > Hi,
> >
> > The idea of a MVC is that you don't do any data retrieving or
> manipulation
> > in your templates. You should
Hi,
The idea of a MVC is that you don't do any data retrieving or manipulation
in your templates. You should do this in your controller and pass the value
you want to your views.
- Jon
On Thu, Apr 22, 2010 at 5:24 PM, Joshua wrote:
>
> symfony version 1.4.4
>
> In the action class I'm doing
>
).
>
> About the 2.0's: Will we have the forms? And the routes?
>
>
Yes.
>
>
> Thanks in advance once more
>
> On 22 mar, 00:33, Jonathan Wage wrote:
> > Hi,
> >
> > On Sat, Mar 20, 2010 at 1:07 PM, Sid Ferreira wrote:
> > > Hi
octrine 2.0? Is it at the same alpha stage? Is there a
> sfDoctrine20Plugin?
>
>
The plan for Doctrine 2 stable release is September 1st 2010. Yes,
sfDoctrine2Plugin exists for symfony 1.3 and 1.4.
- Jon
> Thanks in advance
>
> On 19 mar, 15:29, Jonathan Wage wrote:
> > Hi,
Hi,
Symfony 2 just really isn't ready for a real project. It was a preview
release. Lots of functionality is missing and not added yet. Things will
change a lot. You will continually run into problems and missing
functionality. It will be added for sure, we just have to settle on some
core things
function getValueFor($tableName, $id, $columnName)
{
$object = call_user_func_array(array($tableName.'Peer', 'retrieveByPk'),
array($id));
return $object->{'get'.sfInflector::camelize($columnName)};
}
I think something like this?
- Jon
On Sun, Mar 14, 2010 at 4:43 PM, Christian Schaefer w
stuser'
> and I still have the same error.
> Which is pretty weird since it since unrelated with the inheritance
> stuff...
> Anyway, any advice on the design question ?
>
> On 22 fév, 00:50, Jonathan Wage wrote:
> > I think user is a reserved word :) Try changing t
I think user is a reserved word :) Try changing the table name.
- Jon
On Sun, Feb 21, 2010 at 6:48 PM, ju1ius wrote:
> This is my first attempt:
>
> config/doctrine/schema.yml:
> ---
> User:
> actAs:
>Sluggable:
>
> unique: true
>
> fields:
Hi,
I am not sure how to accomplish this yet, but I can tell you the old way of
doing it in Symfony was a made up standard to work around the lack of oo in
symfony. Now I am thinking the way to accomplish will be a much more natural
oo solution. Something like creating a new bundle that simply ext
I don't think a task is required. Can't you just do:
cp -r apps/frontend apps/new_app
- Jon
On Fri, Feb 5, 2010 at 4:33 PM, bkuberek wrote:
> Hi,
>
> I have a project which consists of one base (skeleton) application and
> for every new application we create we just want to duplicate the
> ske
You can't do it via the schema, but at any point during bootstrap you can
retrieve the table instance of a model and add/change things with it. Or you
can override the setup method and do it there like you said.
- Jon
On Wed, Dec 30, 2009 at 6:53 AM, Lukas Kahwe Smith wrote:
> Ahoi,
>
> I am won
I've actually had this issue when using YUI for ajax. I hacked around it by
sending my own flag so that Symfony knows it is an ajax request.
- Jon
On Sat, Dec 19, 2009 at 2:36 AM, Lukas Kahwe Smith wrote:
>
> On 18.12.2009, at 13:20, Lukas Kahwe Smith wrote:
>
> >
> > On 18.12.2009, at 12:14, Lu
Hi,
I am sending this message to notify everyone of some plans for
sfDoctrineGuardPlugin.
Today I branched
http://svn.symfony-project.org/plugins/sfDoctrineGuardPlugin/trunk/ to
http://svn.symfony-project.org/plugins/sfDoctrineGuardPlugin/branches/1.3/
If you are using symfony 1.3 or 1.4 and wan
r your work.
> Just out of curiosity, what is the reason why ##EMAIL## is not parsed
> out of properties.ini, or rather not at all ATM?
>
> Georg
>
> Jonathan Wage schrieb:
> > This is fixed now in SVN and the values come from the properties.ini
> file.
> >
> > -
This is fixed now in SVN and the values come from the properties.ini file.
- Jon
On Thu, Dec 3, 2009 at 4:15 PM, Georg Gell wrote:
> Hi,
>
> the following tokens can be found in the autogenerated base model
> classes in sf 1.4.
> * @package##PACKAGE##
> * @subpackage ##SUBPACKAGE##
> * @
The undefined variable: e error is fixed now in SVN.
- Jon
On Tue, Dec 1, 2009 at 12:29 PM, Trailfinder wrote:
> Hi All,
>
> Running latest svn of symfony 1.4 / latest svn (today) of
> sfDoctrineGuardPlugin.
>
> When running following command i get an error
>
> r...@ubuntu:/home/workstate/testp
Maybe this?
$this->setDefaults(array(
'authors_list' => array(2)
));
On Tue, Dec 1, 2009 at 7:52 AM, dziobacz wrote:
> But I can set default value for select list for id_book (model Books)
> or id_author (model Authors), but default value only doesn't work for
> authors_list or books_l
This should be fixed now.
- Jon
On Wed, Nov 25, 2009 at 1:29 PM, Thomas Parisot // Oncle Tom <
tho...@oncle-tom.net> wrote:
> I'm not encountering this problem anymore with Doctrine 1.2-RC1.
>
> :)
>
> On 24 nov, 19:49, "Thomas Parisot // Oncle Tom"
> wrote:
> > Isn't it similar to this?http://
Hi Juan,
Sympal is not quite ready yet. I started it when Symfony 1.3 development
began, and now that Symfony 1.3 stable is about to be released I will be
able to begin work on finishing a 1.0 version. The project is not dead, just
in a little inbetween period.
- Jon
On Thu, Nov 12, 2009 at 7:54
Nope.
- Jon
On Wed, Nov 4, 2009 at 9:17 AM, roberto german puentes diaz <
puentesd...@gmail.com> wrote:
> Hi to all
>
> i want test Symfony 1.3 + Doctrine 2, with jobeet tutorial.
> Is it possible?
>
> --
> Cr. Puentes Diaz
> MP 10.12726.9
> Córdoba - Argentina
>
> www.puentesdiaz.com.ar/blog/
Sympal was originally built with Symfony 1.3 from SVN. I am waiting until
symfony 1.3 and Doctrine 1.2 are released and stable before I pick it back
up.
Make sure you are executing the right application for the site record that
is in the database.
- Jon
On Tue, Nov 3, 2009 at 5:23 PM, Amadeus w
Are you using Symfony 1.3?
- Jon
On Thu, Oct 29, 2009 at 5:17 PM, HiDDeN wrote:
>
> I'm following the Jobeet tutorial, and in the Day 11, just before the
> "Forms Security" section, in the last portion of code, there is a line
> that says "$job->getDateTimeObject('expires_at')->format('y/m/d')"
Thanks. We'll need to throw an exception or something if you use a
non-unique key name. They must be unique in order for it to work properly.
- Jon
On Tue, Oct 27, 2009 at 1:26 PM, david wrote:
>
> Just an fyi - there appears to be a small issue with Doctrine 1.2 when
> loading fixtures when ch
That will work as well.
- Jon
On Tue, Oct 20, 2009 at 11:30 AM, Greg Maruszeczka wrote:
>
> On Tue, 20 Oct 2009 08:11:13 -0700 (PDT)
> Hong Kil Dong wrote:
>
> >
> > I wish ot use ENUM type in my Doctrine model, and according to
> > doctrine manual I have to set attribute
> > Doctrine::ATTR_U
In your ProjectConfiguration. Check the Symfony + Doctrine documentation on
the symfony website for how to set attributes.
http://www.symfony-project.org/doctrine/1_2/en/03-Configuration
- Jon
On Tue, Oct 20, 2009 at 11:11 AM, Hong Kil Dong wrote:
>
> I wish ot use ENUM type in my Doctrine mod
I don't think PDO has sybase support does it?
- Jon
On Fri, Oct 16, 2009 at 10:37 AM, Rodrigo Ruiz Fuentes wrote:
>
> Hi,
> I wrote before to the list because I needed to connect symfony 1.0.x
> with Sybase ASE, which was impossible. Now I've upgraded to symfony
> 1.2.9 and I need to connect to
The model generation does not work this way and the package feature cannot
be used with symfony. The package feature is how we generate models for
plugins in symfony.
- Jon
On Tue, Oct 6, 2009 at 4:46 AM, David BOUCHÉ wrote:
>
> I've created the /config/doctrine/webservices.schema.yml :
> -
Yes. You can get it from svn though. Once 1.3 is released we'll package it
up so you can install via PEAR.
http://svn.symfony-project.org/plugins/sfDoctrineGuardPlugin/trunk
- Jon
On Fri, Sep 25, 2009 at 5:25 PM, alessandro cinelli <
alessandro.cine...@gmail.com> wrote:
> sfPluginRestException:
I really have to give my two cents because I really think you have a lot to
learn as a developer but more importantly as a person.
You better start preparing for a career change if you are unable to adapt
and learn something as simple as this. Other people all over the world are
using these tools
Ignorance is bliss.
- Jon
On Thu, Sep 24, 2009 at 10:04 AM, bghost wrote:
>
> This is generated HTML code that I got after inserting the language
> component within a table cell:
>
>
>
> where component 'language' is a component that uses Symfony WEB forms:
> (from Jobeet tutorial):
>
>
>
>
Since it uses PDO and mysql_query() uses a connection resource created from
mysql_connect(), you could not use mysql_query(). You could retrieve the PDO
connection though and issue the SQL query through that. Does it have to be
mysql_query()?
- Jon
On Sat, Aug 8, 2009 at 2:05 PM, Gábor Fási wrot
This is a known issue with the orderby dql parser. An alternative workaround
is to select the sum as an alias and then order by that alias.
- Jon
On Wed, Jul 22, 2009 at 6:05 PM, xwolf wrote:
>
> I have found the problem. In doctrine where it parses order by clouse,
> string is exploded by ','
Slug is just a common word used for this type of functionality in the web
world.
- Jon
On Mon, Jul 20, 2009 at 9:47 AM, Sid Ferreira wrote:
> But why is it called 'slug'?
> ---
> Sidney G B Ferreira
> Desenvolvedor Web
>
>
>
> On Mon, Jul 20, 2009 at 11:40, Tom Haskins-Vaughan <
> t...@templest
Make sure both the foreign and local key definition are exactly the same.
Same type, same length, same options, etc.
- Jon
On Mon, Jul 20, 2009 at 9:36 AM, Tom Haskins-Vaughan <
t...@templestreetmedia.com> wrote:
>
> I applied the patch to a test wc and this is what I get:
>
> // in schema.yml
>
Check out the Doctrine::ATTR_EXPORT attribute to configure what gets
exported to the dbms from your models.
- Jon
On Tue, Jul 14, 2009 at 5:31 PM, Eno wrote:
>
> On Tue, 14 Jul 2009, cleve wrote:
>
> > The doctrine/symfony task builds the sql tables based on the model
> > schema and the schema
See you there! Can't wait.
- Jon
On Mon, Jul 13, 2009 at 1:28 PM, Dennis Benkert wrote:
>
> Hey everybody!
>
> symfony Day Cologne will be the first symfony conference in Germany.
> One day, international speakers, a workshop, and a party. There will
> be talks given by various members of the s
Thank your for your descriptions,
>
> Rene Jochum
>
>
>
> Jonathan Wage schrieb:
> > They are just ruby scripts :) You just write ruby code essentially to
> > automate some commands in to a script that can be invoked easily across
> > lots of machines.
> >
>
would recommend
using some existing best practice for deployment like the svn diff/patch and
capistrano approach.
- Jon
On Thu, Jul 9, 2009 at 12:02 PM, Eno wrote:
>
> On Thu, 9 Jul 2009, Jonathan Wage wrote:
>
> > Now the above commands are all done manually but a lot of time
10:08 AM, Pablo Godel wrote:
>
> Jon,
>
> What are the advantages you see on using this process instead of doing
> a checkout and then updates on the produciton side?
>
> Pablo
>
>
> On Thu, Jul 9, 2009 at 10:35 AM, Jonathan Wage wrote:
> > My deployment
My deployment process is simple. Here is a sample deployment of some
changes.
Note: This all assumes you are working on a production svn export which is
in sync with the tag 1.0.1. We will make some changes and tag it as 1.0.2
and upgrade.
* Open up file and make some changes
vi index.php
* Comm
It needs to be encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 4:13 PM, Germana Oliveira wrote:
>
> Should it be encrypted to validate it
>
>
> The password is not encrypted in the database.
>
> - Jon
>
> On Wed, Jul 8, 2009 at 3:59
The password is not encrypted in the database.
- Jon
On Wed, Jul 8, 2009 at 3:59 PM, Germana Oliveira wrote:
>
> Hi!!!
>
> i have this on sf_guard_user in my sql DB:
>
> mysql> select * from sf_guard_user;
>
> ++--+---+--+--+++---+
The double underscores in your column names might be causing the problem.
- Jon
On Tue, Jul 7, 2009 at 10:53 AM, Stefan Sturm wrote:
>
> Hello,
>
> I build my schema.yml file from an existing DB. For one table it looks
> like this:
>
> Cities:
> tableName: cities
> columns:
>id:
> ty
Lazy loading is not off in the test suite. It works for me when I have used
it.
- Jon
On Fri, Jul 3, 2009 at 5:22 AM, johnwards wrote:
>
> Hello,
>
> Last week I was driven mad by some functional tests that were failing
> but when I tried to replicate the fail in the dev environment in the
> b
Check this out.
http://www.doctrine-project.org/documentation/manual/1_1/en/behaviors#core-behaviors:geographical
- Jon
On Mon, Jun 29, 2009 at 4:27 PM, oweit...@gmx.de wrote:
>
> try rhis link
>
> http://codeidol.com/sql/sql-hack/Number-Crunching/Calculate-the-Distance-Between-GPS-Locations/
If you remove some models from your YAML file then you need to remove the
files that were generated in your lib/model, lib/form, etc. folders.
- Jon
On Mon, Jun 29, 2009 at 2:20 PM, David wrote:
>
> Hi,
>
> I made a mistake in my doctrine/shema.yml and then, rewriting a couple
> of entries.
> B
Maybe this is what you want?
$oSource = Doctrine::getTable('MyClass')->find(1);
$oDest = Doctrine::getTable('MyClass')->find(2);
$oDest->fromArray($oSource->toArray(false)); // no deep copy required
$oDest->save();
- Jon
On Mon, Jun 29, 2009 at 12:39 PM, Jess OVR wrote:
> Hi all
>
> I'm quite
Forgive me if someone already suggested this but you should look at the code
built in to symfony.
lib/validator/sfValidatorFile.class.php
It has some nice code for guessing mime types several different ways.
Including fileinfo, guessing from binary info, extension, etc.
- Jon
On Wed, Jun 24, 2
One thing I forgot to ask you. Can you print_t() the value of $name in the
Doctrine code and tell me what it is?
Thanks, Jon
On Sun, Jun 21, 2009 at 5:29 AM, Andrei Dziahel wrote:
> Hi.
>
> Can we take a look at your schema?
>
> 2009/6/20 Rajat
>
>>
>> Hello All,
>> I keeping getting these erro
I don't think the admin generators support composite foreign keys.
- Jon
On Fri, Jun 19, 2009 at 3:51 PM, Tom Haskins-Vaughan <
t...@templestreetmedia.com> wrote:
>
> Hi,
>
> This is an excerpt from my schema.yml:
>
> InternationalPresence:
> actAs: { Timestampable: ~ }
> columns:
> comp
What would it do? Validate the html?
- Jon
On Fri, Jun 19, 2009 at 8:20 AM, gimler wrote:
>
> has anybody a form validator for a wysiwyg widget for example tinymce
> widget???
> >
>
--
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com |
I think getOptions() is already a method on Doctrine_Template.
Thanks, Jon
On Thu, Jun 18, 2009 at 3:04 PM, Jonathan Franks wrote:
>
> Thanks Thomas - that worked. I made a getOptions method in my
> ObjectAttributes template and then called
>
> Doctrine::getTable($this->options['model'])-
>
Postgres?
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org
On Thu, Jun 18, 2009 at 12:00 PM, virtualize wrote:
>
> Hi all
>
> When I use the batch action to delete one or more items in an admi
el.doctrine
>> sfGuardGroup:
>> ...rest of the original schema.yml from sfDoctrineGuardPlugin goes here
>> ...
>>
>> trying to re-generate model with symfony doctrine:build-all-reload
>> still sfGuardGroup.class.php and all the rest gets re-generated inside
>>
an wrote:
> Hi all,
>
> In March, Jonathan Wage wrote:
>
> Add this to the top of the plugin: "package:
> sfDoctrineGuardPlugin.lib.model.doctrine"
> This "package" option is automatically added to the schema files found in
> plugins so that the models a
to know too.
>
>
> 2009/6/16 dziobacz
>
>
>> May I also know why ? :)
>>
>>
>> On 15 Cze, 22:00, dziobacz wrote:
>> > ok thx ;)
>> >
>> > On 15 Cze, 21:37, Jonathan Wage wrote:
>> >
>> > > Yes this is normal
Yes this is normal.
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org
On Mon, Jun 15, 2009 at 1:08 PM, dziobacz wrote:
>
> integer(2) in doctrine in schema.yml = smallint(6) in mysql
> integer(
ource Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org
On Wed, Jun 10, 2009 at 8:25 AM, Sid Ferreira wrote:
> I've just noticed that it is based in sf 1.0!!!
> Also... wanna find out how to vote on it :p
>
>
> On Wed, Ju
Should symfony have a check under EDP? It has an event system and is a
pretty good feature. Also, I would say Symfony should have a check under
templates :)
Also, why does Zend have a check under ORM?
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com |
Sometimes apache and the command line have different php.ini files. Make
sure you are editing the php.ini for apache. You can check the location of
your php.ini by checking phpinfo(); in a php script which is executed from
the browser/apache.
Thanks,
Jonathan H. Wage (+1 415 992 5468)
Open Source
mentioned above: a
> sfError404Exception.
>
> On 18 Mai, 17:06, Jonathan Wage wrote:
> > I know what the issue is.
> >
> > When you are in a certain "site" in sympal, the routes for that site are
> > loaded. Currently when you view the content list, it in
.
>
>
>
> On 5/17/09, Daniel Holmes wrote:
> >
> > I have this same issue; however changing to interactive didn't fix it
> > for me. Let me know if there is anything in particular i can do to
> > give you the information you need.
> >
> > O
I am not sure why you'd be getting this error and I don't. You need to set
the attribute like this:
attributes:
mysql_attr_use_buffered_query: true
Not sure if that'll work, but if it will that is the syntax it'd be in.
- Jon
On Sun, May 17, 2009 at 8:28 AM, David Ashwood wrote:
> I’ve tri
No, it is not.
- Jon
On Fri, May 15, 2009 at 9:32 PM, nick wrote:
>
>
> Symfony depends on a lot of yaml files, such as security.yml and
> setttings.yml and routing.yml. Does Symfony know in which file a given
> option is defined in? I'm under the impression that the division of
> options into
nd executed
> the sympal install task again, this time with the interactive param.
>
> Thanks.
>
> On 5/15/09, Jonathan Wage wrote:
> > Are you using the latest version of symfony from SVN?
> >
> > - Jon
> >
> > On Fri, May 15, 2009 at 4:39 AM, Gandalf wr
Are you using the latest version of symfony from SVN?
- Jon
On Fri, May 15, 2009 at 4:39 AM, Gandalf wrote:
>
> Hello
>
> I followed the sympal setup instructions, but I got this error:
>
> 404 | Not Found | sfError404Exception
> Unable to find the
> Component : Content
> Table : content
> ob
1 - 100 of 404 matches
Mail list logo