we do a regular form login once per webtestcase. that works, but is a
little bit dirty, cause you have to consider the order if the teststep
execution. if anyone knows how to do it better: please share your
thoughts!
BR Stephan
On Jun 18, 8:18 am, oscar balladares liebegr...@gmail.com wrote:
Hi everybody!.
I'm using Yaml configuration for doctrine metadata.
All others events (prePersist, postPersist, preRemove, postRemove) are
working properly, but not the preUpdate and PostUpdate.
Of course, I'm just calling the 'persist' method of the $EntityManager:
Hi all,
Here is my problem :
I tryied to display data with the getRepository()-findAll function in
SYmfony 2.
My entities are displayed, but the first occurence is missing.
For example I want to display movie's categories from my database which are
COMEDY, HORROR,and ROMANCE, but the
Sorry, I've founded the solution.
It came from the accents on my e characters. ( I'm french )
But if someone can told me how I can fix it, it would be nice ;)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
What I have:
2 computers on LAN, web server on one of them, to which I have access
from both computers via 192.168.0.100.
Symfony2 which uses reverse proxy cache with e-tag.
app.php: http://pastebin.com/hupi9bYN
controller code: http://pastebin.com/7mWSt3jv
Caching itself works fine (I go to
I'm need to use the PHPExcel library (and other libraries) in
symfony2. What is the correct way of setting this up so that the
classes etc are found. Should i put it into the vendor directory? How
do i set up the configuration etc? Any tips / shared experiences much
appreciated.
Thanks
--
If you
Hi all
I struggle with inserting blob data into oracle. I tried two ways:
1. I have a form in which blob_data is $this-setWidget(blob_data,
new sfWidgetFormInputFile());
I bind form values
$form-bind(
$request-getParameter($form-getName()), $request-
getFiles($form-getName())
I use
$ext = $uploadedFile-guessExtension() == null ? $uploadedFile-
getExtension() : $uploadedFile-guessExtension();
where uploadedFile is a field of my entity (not persisted) used in the
forms.
I followed the cookbook:
http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html
and
Hello guys
I have problems by generating a custom repository classe with
annotations. I'm following the documentation and got stuck at the
Doctrine part: Custom Repository Classes.
It says that you have to add following annotation to the Product
Entity:
/**
*
btw - zip for docx is not that far off.
docx-files are essentially zipped xml-files ;)
sincerely
louis
2011/6/17 Gustavo Adrian comfortablynum...@gmail.com:
Thanks for the tip! Yes, this topic is a real headache. I had this type of
issue on centos too (although I don't remember with which
Hello there,
I'm quite new with symfony and I'm trying to make it work with PostGIS thru
doctrine. I installed sfMapFishPlugin but my problem seems to be as basic as
managing a blob/bytea field.
So by considering only the blob question, here is my problem :
- I design a table with a blob
Thanks you *Matías Roldán*, but i forget say that question on symfony2.
--
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
Please, any news?
--
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 email to symfony-users@googlegroups.com
To
I am testing the Form and Doctrine2 functionality of Symfony2 and I
love it however, the documentation on the Symfony2 website is not
entirely clear (to me) concerning the updating of an Entity.
I have created a simple form for adding and deleting users. My
controller action looks like follows:
I've just tried nowand my script doesn't work too for incorrect
mime types...
--
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
I updated to Symfony BETA5 and now lazy loading doesn't seem to work
anymore.
In the controller I did the following:
$em = $this-getDoctrine()-getEntityManager();
$task = $em-getRepository('BpErpBundle:BpTask')-
findOneById($taskId);
And then I tried to get access of a foreign entity:
$author
Hi there,
since i decided to use the translatable feature of the Stof
\DoctrineExtensionsBundle i get this error
[Doctrine\ORM\Mapping
\MappingException]
No identifier/primary key specified for Entity 'Stof
\DoctrineExtensionsBundle\Entity\LogEntry'. Every Entity must have an
Hello,
Does Beta5 come without the AsseticBundle installed? I downloaded both the
tgz and zip version of Symfony SE with vendors and neither in both files the
AsseticBundle was present.
Thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi Bart,
having `children` the same type as the parent starts an endless
recursion ( children like create another children which will create
another and so on ).
Easiest way to address this (tho maybe not optimal) is to create
another definition for the nested type.
On Jun 17, 9:02 am, Bart
I managed to solve. I had to also set charset in config.yml at the doctrime
dbal part
On 17 June 2011 16:33, Marco Pivetta ocram...@gmail.com wrote:
Could you please check the encoding of your source files? Also check the
content-encoding headers sent by your web server :)
Marco Pivetta
Hi,
I'm building a little blog system. I show the last post in the home page
and then when clicked it shows the content of the post.
I'm facing this weird problem when calling from an action in differents
modules:
when calling from the home module:
$this-sf_in_blog_posts =
i have a simple form in symfony2 (beta 5), but the post data is never
bound to the form. here are my classes (trimmed for brevity):
/**
* Represents a User
*
* @ORM\Entity
* @ORM\HasLifecycleCallbacks()
*/
class User
{
/**
* @ORM\Id
* @ORM\Column(type=integer)
*
How I can make required field validation only for create, and disable
it on update, for example when user register, field password should
not be null, but on update it should not be null only if user whant
update password?
--
If you want to report a vulnerability issue on symfony, please send
Hello,
I'm quite new with symfony and I'm trying to make it work with PostGIS
thru doctrine. I installed sfMapFishPlugin but my problem seems to be as
basic as managing a blob/bytea field.
So by considering only the blob question, here is my problem :
- I design a table with a blob that
Le 20/06/2011 11:09, ? a écrit :
How I can make required field validation only for create, and disable
it on update, for example when user register, field password should
not be null, but on update it should not be null only if user whant
update password?
Set the /required/ option on
Le 19/06/2011 15:57, Jake a écrit :
I'm need to use the PHPExcel library (and other libraries) in
symfony2. What is the correct way of setting this up so that the
classes etc are found. Should i put it into the vendor directory? How
do i set up the configuration etc? Any tips / shared
Le 18/06/2011 08:38, Inori a écrit :
What I have:
2 computers on LAN, web server on one of them, to which I have access
from both computers via 192.168.0.100.
Symfony2 which uses reverse proxy cache with e-tag.
app.php: http://pastebin.com/hupi9bYN
controller code: http://pastebin.com/7mWSt3jv
Le 17/06/2011 22:29, mrdev a écrit :
Hi there,
since i decided to use the translatable feature of the Stof
\DoctrineExtensionsBundle i get this error
[Doctrine\ORM\Mapping
\MappingException]
No identifier/primary key specified for Entity 'Stof
\DoctrineExtensionsBundle\Entity\LogEntry'.
Thanks... i put it in the vendor folder and registered a prefix with
the autoloader. works!
--
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
Sorry, I am new at symfony2, and I mean disable some validation rules on
create/update.
This is my *Entity*, I set for field *password* validation rule *NotBlank*,
and this is true only for create, but on update I want disable this rule,
how I can do this?, Or maybe I should do this in *Form*
Hi,
I followed the readme of the plugin, the problem is that when I
rebuild model I lose behaviors,
I have this model:
myprofile1:
inheritance:
type: column_aggregation
extends: sfGuardUserProfile
actAs: { Timestampable: ~ , Sluggable:{ fields:[name], unique:
true}}
columns:
Le 20/06/2011 14:34, ? a écrit :
Sorry, I am new at symfony2, and I mean disable some validation rules
on create/update.
This is my *Entity*, I set for field *password* validation rule
*NotBlank*, and this is true only for create, but on update I want
disable this rule, how I can do
Hi stof,
What is a validation group? I never heard of that before.
--
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,
Hi all,
I've a little bit difficult problem... I would want create a form, thanks to
a MyentityType.php , but who can render a JDialog modal form in it, to
add some embedded entities dynamically, like on this page
http://jqueryui.com/demos/dialog/#modal-formbut in a form.
I'm working on it
Thanks all for help, I'll try use this solution.
--
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 email to
I dug into it. And I see how to set validation group. But I don't see how to
validate a form using it.
@stof, is the form component missing something ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
Le 20/06/2011 16:02, Michel Salib a écrit :
I dug into it. And I see how to set validation group. But I don't see
how to validate a form using it.
@stof, is the form component missing something ?
When creating a form, you can pass the /validation_group/s option (as an
array of groups) to tell
@stof thanks !
--
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 email to symfony-users@googlegroups.com
To
My development team created a website with symfony 1.4, but the
project turned out a nightmare : few knew how to code with symfony, we
were too many working on the project, and we ended up with a mess hard
to maintain.
Personally, I'm a symfony fan and can't wait the release of 2.0, but
the team
Zend Framework 2's MVC still has to be implemented. You should really delay
the debate ~3 weeks from today before taking any decision...
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 20 June 2011 17:00, Manu emmanuel.parf...@gmail.com wrote:
My development team created
Hi,
iam wondering is it possible to use recursive routing like:
/service/folder1
/service/folder1/folder2/folder3
/service/folder1/folder2/../folder10
Just found information for symfony 1.4 so as the routing is different
in 2.0 i would be pleased to get some help =)
best regards
dominik
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi,
according to UPDATE.md in the root of symfony:
...
beta4 to beta5
- --
...
* The AsseticBundle has been moved to its own repository (it still
bundled with Symfony SE).
...
so if assetic is not part of the SE, this sounds like a
On 6/20/11 5:15 PM, ddanninger wrote:
Hi,
iam wondering is it possible to use recursive routing like:
/service/folder1
/service/folder1/folder2/folder3
/service/folder1/folder2/../folder10
Just found information for symfony 1.4 so as the routing is different
in 2.0 i would be pleased to
On 6/20/11 5:15 PM, ddanninger wrote:
Hi,
iam wondering is it possible to use recursive routing like:
/service/folder1
/service/folder1/folder2/folder3
/service/folder1/folder2/../folder10
Just found information for symfony 1.4 so as the routing is different
in 2.0 i would be pleased to
Is still there, it just change the location, now you can find it in
/vendor/bundles/Symfony/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
I found out, how I can save the addresses.
But I can't get back my saved addresses in the form. Any Idea?
--
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
Does anyone else think we should be keeping 3rd party bundles separate from
the Symfony2 Standard Edition distribution, as a means of easing future
upgrades once Symfony2 becomes stable?
ie.
app/
bin/
src/
vendor/ (containing only 3rd party bundles not in the Symfony2 SE
distribution)
Le 20/06/2011 18:45, keymaster a écrit :
Does anyone else think we should be keeping 3rd party bundles separate
from the Symfony2 Standard Edition distribution, as a means of easing
future upgrades once Symfony2 becomes stable?
ie.
app/
bin/
src/
vendor/ (containing only 3rd party
Yes. You can even open the zip without problems. But anyway that's not the
correct mime type. And it's not the only case it detects the wrong mime
type. That's why I, sadly, have to use the original extension and mime type
until I find a better and consistent solution. I know it's not the best way
Hi. I won't give you the answer you are expecting, but an advice: Try to
avoid lazy loading, always; you can do pretty much
with DQL.
2011/6/20 jletellier letellier.jul...@googlemail.com
I updated to Symfony BETA5 and now lazy loading doesn't seem to work
anymore.
In the controller I did
it's a problem of encoding, make sure your database settings use utf8, and
use utf8_encode/decode to display or write back into the database
--
Vincent
On Jun 20, 2011 1:35 PM, Jérémy Simonklein jeremy.simonkl...@gmail.com
wrote:
Sorry, I've founded the solution.
It came from the accents on my
Hi everyone,
I'm still trying to query my MongoDB store thanks to symfony2 and
Doctrine ODM.
I'm following these instructions :
http://symfony.com/doc/current/cookbook/doctrine/mongodb.html
So I tried :
$dm = $this-get('doctrine.odm.mongodb.document_manager');
$user = $dm-createQuery('find
Le 20/06/2011 21:05, Adrien Mogenet a écrit :
Hi everyone,
I'm still trying to query my MongoDB store thanks to symfony2 and
Doctrine ODM.
I'm following these instructions :
http://symfony.com/doc/current/cookbook/doctrine/mongodb.html
So I tried :
$dm =
I don't get it... from the documentation link I was talking about,
User class was annotated with :
/** @mongodb:Document(collection=users) */
I used this syntax ; you tell me this one is wrong ?
On 20 juin, 21:10, Christophe COEVOET s...@notk.org wrote:
Le 20/06/2011 21:05, Adrien Mogenet a
Le 20/06/2011 21:17, Adrien Mogenet a écrit :
I don't get it... from the documentation link I was talking about,
User class was annotated with :
/** @mongodb:Document(collection=users) */
I used this syntax ; you tell me this one is wrong ?
When following the link, I see /
use
Seriously dude... I checked ; several times.
Here is the version I had in my tab :
http://twitpic.com/5ef73k
Documentation has just been updated recently, I didn't had your
version even 1 hour ago...
Thanks anyway
On 20 juin, 21:27, Christophe COEVOET s...@notk.org wrote:
Le 20/06/2011
Hey Everyone,
I use if($this-get('request')-isXmlHttpRequest() in several places
and was wondering how you would simulate an XmlHttpRequest using
BrowserKit/Client (ie. is there something built in or do I need to set
some headers).
Roger
--
If you want to report a vulnerability issue on
Hi
I have created backend and I have admin modules with me now. I want to
change on text field available in the backend form to radio button as
True and False. How is it possible with generate,yml entry amends?
--
If you want to report a vulnerability issue on symfony, please send it to
Thanks, that works like a charm :)
On 17 Jun., 16:39, Michael Holm ho...@hollo.dk wrote:
Hi,
Yes you can.. just put it in as an argument:
arguments: [@session]
then get the session class in the constructor of the class..
http://symfony.com/doc/current/book/service_container.html
Best
You probably downloaded a previous version than 1.4.
I've recently downloaded 1.4 and everything is ok.
2011/6/20 moolligan moolli...@gmail.com
Hi everybody,
I'm doing the Jobeet tutorial whith Symfony 1.4.
On Day 3, I have to modify the schema.yml file (to build my database).
This file is
60 matches
Mail list logo