dustin10 / VichGeographicalBundle

A Symfony2 bundle which provides geographical features for ORM and ODM entities and object oriented javascript maps rendering.
104 stars 26 forks source link

Unable to find GeograhicalQuery annotation #31

Open nephilimdie opened 11 years ago

nephilimdie commented 11 years ago

Hi, i have this error and in other issue was resolved, but not for me!

Stack Trace

    in /home/iraqexcavations/iraq_bootstrap/vendor/vich/geographical-bundle/Vich/GeographicalBundle/EventListener/GeographicalListener.php at line 110  -+
                }

                if (null === $geoQuery) {
                    throw new \InvalidArgumentException('Unable to find GeograhicalQuery annotation.');
                }

                $queryMethod = $geoQuery->getMethod();
    at GeographicalListener ->updateObject (object(City), object(Geographical), null)
    in /home/iraqexcavations/iraq_bootstrap/vendor/vich/geographical-bundle/Vich/GeographicalBundle/EventListener/GeographicalListener.php at line 73  -+
    at GeographicalListener ->prePersist (object(LifecycleEventArgs))
    in /home/iraqexcavations/iraq_bootstrap/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php at line 61  -+
    at ContainerAwareEventManager ->dispatchEvent ('prePersist', object(LifecycleEventArgs))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 808  -+
    at UnitOfWork ->persistNew (object(ClassMetadata), object(City))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 1588  -+
    at UnitOfWork ->doPersist (object(City), array('000000007ac0bf8f00000000205d1d73' => object(City)))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 1546  -+
    at UnitOfWork ->persist (object(City))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php at line 565  

thanks in advance and great job yours :+1: stefano

nephilimdie commented 11 years ago

up! :(