Comments (28)
no idea of what could be wrong ?
from genemuformbundle.
same problem :(
from genemuformbundle.
well, there's a quick fix : you can override the findAll() function in the repository to return an empty array.
but it's a quite dirty fix ^^
from genemuformbundle.
thx
from genemuformbundle.
I know.
Symfony is that manages entities. And it's a default SQL query.
I dont want to write a specific function for aumtocomplete because I would have to check many things (mainly the validation).
But maybe one day I will make a feature.
from genemuformbundle.
Maybe you don't have to write yourself the function. I think we could just extend the entity class and overload the load function that returns an empty array.
from genemuformbundle.
I commit a correction and not to make request by default for autocomplete
.
from genemuformbundle.
Catchable Fatal Error: Argument 1 passed to Genemu\Bundle\FormBundle\Form\Type\JQueryAutocompleterType::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Symfony\Bundle\DoctrineBundle\Registry given
from genemuformbundle.
Upgrade Symfony2. /bin/vendors install
.
There have been changes September 23, 2011.
I stay on the latest version of Symfony2.
Otherwise you come back on an old commit. But you lose the update bundle.
from genemuformbundle.
If you dont update Symfony2, I created a branch all.
git checkout branch all
from genemuformbundle.
ok =)
from genemuformbundle.
and to which commit do we need to stick ?
from genemuformbundle.
Hi all! I am new to symfony 2 and I have a problem with this Bundle and more precisely with the "datepicker". When I implement 'genemu_jquerydate' in my form I have the following error message:
"Method "datepicker" for object "Symfony\Component\Form\FormView" does not exist in "GenemuFormBundle:Form:div_layout.html.twig" at line 37"
If someone has an idea?
thank you
from genemuformbundle.
I corrected.
I forgot to remove an old code.
from genemuformbundle.
Thank you, but there is a new problem, "MongoDB." I work with mySQL. Is it possible to combine the two? Or it's damn for me? ;)
from genemuformbundle.
The two should work together.
I use tests for all environments (Propel + Doctrine2 + MongoDB).
Return to me the error please.
from genemuformbundle.
The service "genemu.form.type.ajaxdocument" has a dependency on a non-existent service "doctrine.odm.mongodb".
from genemuformbundle.
Have you added in your AppKernel.php
<?php
public function registerBundles()
{
$bundles = array(
//...
new Symfony\Bundle\DoctrineMongoDBBundle\DoctrineMongoDBBundle(),
);
return $bundles;
}
from genemuformbundle.
Yep
php app/console container:debug | grep mongo
doctrine.odm.mongodb.cache n/a alias for doctrine.odm.mongodb.cache.array
doctrine.odm.mongodb.cache.array container Doctrine\Common\Cache\ArrayCache
doctrine.odm.mongodb.default_configuration container Doctrine\ODM\MongoDB\Configuration
doctrine.odm.mongodb.default_connection container Doctrine\MongoDB\Connection
doctrine.odm.mongodb.default_document_manager container Doctrine\ODM\MongoDB\DocumentManager
doctrine.odm.mongodb.default_metadata_cache container Doctrine\Common\Cache\ArrayCache
doctrine.odm.mongodb.document_manager n/a alias for doctrine.odm.mongodb.default_document_manager
doctrine.odm.mongodb.event_manager container Doctrine\Common\EventManager
doctrine.odm.mongodb.logger container Symfony\Bundle\DoctrineMongoDBBundle\Logger\DoctrineMongoDBLogger
doctrine.odm.mongodb.metadata.annotation container Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver
doctrine.odm.mongodb.metadata.annotation_reader n/a alias for annotation_reader
doctrine.odm.mongodb.metadata.chain container Doctrine\ODM\MongoDB\Mapping\Driver\DriverChain
doctrine.odm.mongodb.metadata.xml container Symfony\Bundle\DoctrineMongoDBBundle\Mapping\Driver\XmlDriver
doctrine.odm.mongodb.metadata.yml container Symfony\Bundle\DoctrineMongoDBBundle\Mapping\Driver\YamlDriver
doctrine_odm.mongodb.validator.unique container Symfony\Bundle\DoctrineMongoDBBundle\Validator\Constraints\UniqueValidator
form.type.mongodb_document container Symfony\Bundle\DoctrineMongoDBBundle\Form\Type\DocumentType
form.type_guesser.doctrine.mongodb container Symfony\Bundle\DoctrineMongoDBBundle\Form\DoctrineMongoDBTypeGuesser
from genemuformbundle.
Ok, I understand.
Well I'll make a 2.0 branch.
from genemuformbundle.
For those who use v2.0.5 or v2.0.6.
You must use the branch 2.0 to this bundle.
from genemuformbundle.
Well, this is my debs :
[symfony]
git=http://github.com/symfony/symfony.git
version=v2.0.6
[twig]
git=http://github.com/fabpot/Twig.git
version=v1.1.2
[monolog]
git=http://github.com/Seldaek/monolog.git
version=1.0.2
[doctrine-common]
git=http://github.com/doctrine/common.git
version=2.1.2
[doctrine-dbal]
git=http://github.com/doctrine/dbal.git
version=2.1.3
[doctrine]
git=http://github.com/doctrine/doctrine2.git
version=2.1.2
[swiftmailer]
git=http://github.com/swiftmailer/swiftmailer.git
version=v4.1.3
[assetic]
git=http://github.com/kriswallsmith/assetic.git
version=v1.0.2
[twig-extensions]
git=http://github.com/fabpot/Twig-extensions.git
[metadata]
git=http://github.com/schmittjoh/metadata.git
version=1.0.0
[SensioFrameworkExtraBundle]
git=http://github.com/sensio/SensioFrameworkExtraBundle.git
target=/bundles/Sensio/Bundle/FrameworkExtraBundle
[JMSSecurityExtraBundle]
git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
target=/bundles/JMS/SecurityExtraBundle
version=origin/1.0.x
[SensioDistributionBundle]
git=http://github.com/sensio/SensioDistributionBundle.git
target=/bundles/Sensio/Bundle/DistributionBundle
version=origin/1.0
[SensioGeneratorBundle]
git=http://github.com/sensio/SensioGeneratorBundle.git
target=/bundles/Sensio/Bundle/GeneratorBundle
[AsseticBundle]
git=http://github.com/symfony/AsseticBundle.git
target=/bundles/Symfony/Bundle/AsseticBundle
version=v1.0.1
[DoctrineExtensions]
git=git://github.com/l3pp4rd/DoctrineExtensions.git
target=bundles/Doctrine/Gedmo/gedmo-doctrine-extensions
[DoctrineExtensionsBundles]
git=git://github.com/stof/StofDoctrineExtensionsBundle.git
target=bundles/Doctrine/Stof/DoctrineExtensionsBundle
[WebProfilerExtraBundle]
git=git://github.com/Elao/WebProfilerExtraBundle.git
target=bundles/Elao/WebProfilerExtraBundle
[CraueTwigExtensionsBundle]
git=git://github.com/craue/TwigExtensionsBundle.git
target=bundles/Craue/TwigExtensionsBundle
[doctrine-fixtures]
git=http://github.com/doctrine/data-fixtures.git
[DoctrineFixturesBundle]
git=http://github.com/symfony/DoctrineFixturesBundle.git
target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
[GenemuFormBundle]
git=http://github.com/genemu/GenemuFormBundle.git
target=bundles/Genemu/Bundle/FormBundle
version=origin/2.0
and my deps.lock
symfony e3149318f522c14717041db3ff6b7e64421ce033
twig 396435ecd05556adb0a8bd05b14641cb4f8a8aa5
monolog b704c49a3051536f67f2d39f13568f74615b9922
doctrine-common e4a48faef35752ba3cd1d261316313e9c09e0c81
doctrine-dbal 5084e6bf5ded98b01feb847935d40e5e260b5025
doctrine ca289bf1ea6223d5894b1f6ec86fc2759e458ccc
swiftmailer 8c3165691e36302405926abbae7526549db8b899
assetic f829ad23d23c87480151a21faad49fefe7c09e5d
twig-extensions eba4f5d572bec05c72a47bbd73ba0a3330cf8f54
metadata 8717ad2a5689480765d9ffafe925cd8a2457e582
SensioFrameworkExtraBundle b6565d32d71325be1f56943a8758b18f5999de8c
JMSSecurityExtraBundle b8b7eb294ed83d83ca7260ac018e701f08003538
SensioDistributionBundle 2082cb99d408fd89243059c6eff866347ec00bbe
SensioGeneratorBundle 88ecf05691825c81b6a19ca6e2dc1849f1a5dcd4
AsseticBundle 41b5913b5086a0909af92adcb4a6005ee0051b16
CraueTwigExtensionsBundle 3c249f1ff260bfadaccbc7dc97eb4f33aa7526ae
DoctrineExtensionsBundles 5dd2ea308aa23d934b6c50551853fc3d81bffae9
But I have the same error as toinouu :
ServiceNotFoundException: The service "genemu.form.type.ajaxdocument" has a dependency on a non-existent service "doctrine.odm.mongodb.document_manager".
Edit : if this can help you, this commit works fine for me : 917643e
from genemuformbundle.
I commit a correction. Default is Doctrine and Propel.
If it's used MongoDB must add a parameter aditional.
// app/config/config.yml
genemu_form:
jqueryautocompleter:
mongodb: true
from genemuformbundle.
In my case it is not used, my config file is:
genemu_form: ~
from genemuformbundle.
OK, get the update from the last commit.
from genemuformbundle.
working fine now, thanks !
from genemuformbundle.
OK good.
from genemuformbundle.
Fix
from genemuformbundle.
Related Issues (20)
- Bundle still maintained? HOT 15
- Recaptcha not visible on the server
- Select2 and DTO?
- Show google recaptcha "I'm not Roobot" HOT 1
- Symfony 2.8 dependency HOT 1
- Rely on IvoryFormExtraBundle for javascript/stylesheet form fragment
- Not using ReCaptcha but still get error HOT 1
- remove deprecated calls HOT 1
- deprecated methods symfony 3.* HOT 1
- Purpose of `md5`ing of a captcha value HOT 2
- How to add form_javascript to the bottom of the parent layout ? HOT 1
- SF2.8.8 and getBlockPrefix() bug HOT 3
- genemu_jqueryselect2_entity autocomplete to database entry id
- Error: "ChoiceToJsonTransformer must implement ChoiceListInterface" HOT 1
- How do I use this bundle in Symfony 3.1? HOT 10
- Error : Could not load type "genemu_jquerygeolocation"
- Twig2 Support HOT 1
- How do I use this bundle in Symfony 3.2.x? (datapicker) HOT 2
- [Question] Release version 3.0 HOT 5
- ddd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genemuformbundle.