partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.4k stars 403 forks source link

Exception: Unkown column 't0.price' #115

Closed apex- closed 12 years ago

apex- commented 12 years ago

When trying to open the part editing window partkeepr shows an exception window with the following content (can be reproduced at partkeer.org/demo):

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.price' in 'field list'

Exception details: PDOException

Backtrace:

0 /usr/share/php/Doctrine/DBAL/Connection.php(613): PDOStatement->execute() #1 /usr/share/php/Doctrine/ORM/Persisters/BasicEntityPersister.php(1304): Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS...', Array, Array) #2 /usr/share/php/Doctrine/ORM/Persisters/BasicEntityPersister.php(1264): Doctrine\ORM\Persisters\BasicEntityPersister->getOneToManyStatement(Array, Object(de\RaumZeitLabor\PartKeepr\Part\Part)) #3 /usr/share/php/Doctrine/ORM/UnitOfWork.php(2151): Doctrine\ORM\Persisters\BasicEntityPersister->loadOneToManyCollection(Array, Object(de\RaumZeitLabor\PartKeepr\Part\Part), Object(Doctrine\ORM\PersistentCollection)) #4 /usr/share/php/Doctrine/ORM/PersistentCollection.php(207): Doctrine\ORM\UnitOfWork->loadCollection(Object(Doctrine\ORM\PersistentCollection)) #5 /usr/share/php/Doctrine/ORM/PersistentCollection.php(474): Doctrine\ORM\PersistentCollection->initialize() #6 /data/vhosts/timo/domains/demo.partkeepr.org/PartKeepr/src/backend/de/RaumZeitLabor/PartKeepr/Util/BaseEntity.php(94): Doctrine\ORM\PersistentCollection->count() #7 /data/vhosts/timo/domains/demo.partkeepr.org/PartKeepr/src/backend/de/RaumZeitLabor/PartKeepr/Part/Part.php(447): de\RaumZeitLabor\PartKeepr\Util\BaseEntity->serializeChildren(Object(Doctrine\ORM\PersistentCollection)) #8 /data/vhosts/timo/domains/demo.partkeepr.org/PartKeepr/src/backend/de/RaumZeitLabor/PartKeepr/Part/PartService.php(19): de\RaumZeitLabor\PartKeepr\Part\Part->serialize() #9 /data/vhosts/timo/domains/demo.partkeepr.org/PartKeepr/src/backend/de/RaumZeitLabor/PartKeepr/Service/ServiceManager.php(79): de\RaumZeitLabor\PartKeepr\Part\PartService->get() #10 /data/vhosts/timo/domains/demo.partkeepr.org/PartKeepr/frontend/rest.php(54): de\RaumZeitLabor\PartKeepr\Service\ServiceManager::call() #11 {main}

Drachenkaetzchen commented 12 years ago

Thanks, this is fixed. By the way, I noticed that you tried to register on the PartKeepr forums, but you've entered an invalid e-mail (which bounced back to me).

If you send your correct mail to me, I can change it for you.