Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Unkown column 't0.price' #115

Closed
apex- opened this issue Dec 26, 2011 · 1 comment
Closed

Exception: Unkown column 't0.price' #115

apex- opened this issue Dec 26, 2011 · 1 comment

Comments

@apex-
Copy link

apex- commented Dec 26, 2011

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants