[Components] Persistent Object - relation object extractor creates wrong indexes

2010-06-03 Thread Christoph René Pardon
Hi, i'm just a little bit confused. Maybe someone can help me to solve my problem: http://gist.github.com/423926 My setup is attached. best regards René <> <> -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components

Re: [Components] ezcPersistentSessionIdentityDecorator ... missing attributes/columns [solved]

2010-04-28 Thread Christoph René Pardon
nerator.php -s ./application/sources/database/schema.xml -f xml ./application/sources/database/persistence/ (Maybe) ezcDbSchema doesn't recognize the correct types of attributes if there are multiple primary keys on a table. greetings René Derick Rethans schrieb: > On Wed, 28 Apr 2010,

[Components] ezcPersistentSessionIdentityDecorator creating a sql query with createFindQuery() results in a wrong statement with missing attributes/columns

2010-04-27 Thread Christoph René Pardon
Hi lists reader :) i've a problem with creating sql statements with persistent objects of ezc. The following Code: $ezcSession = ezcPersistentSessionInstance::get(); $query = $ezcSession->createFindQuery('Yela_Persistence_Core_Acl_Rules'); var_dump($query->getQuery());die(); resu

Re: [Components] ezcPersistentSessionIdentityDecorator

2010-04-24 Thread Christoph René Pardon
result within the persistent session?! Something like: $ezcSession->setDataManually($result); greetings René Tobias Schlitt schrieb: > Hi Christoph, > > On 04/24/2010 11:08 AM, Christoph René Pardon wrote: > >> no, i only use one of both methods. Both together make no

Re: [Components] ezcPersistentSessionIdentityDecorator

2010-04-24 Thread Christoph René Pardon
Hi Tobias, no, i only use one of both methods. Both together make no sense. If i try $ezcSession->findWithRelations($query) the following exception is thrown: Fatal error: Call to private method ezcPersistentSessionIdentityDecorator::findWithRelations() from context 'Admin_Service_User' in /var/

[Components] ezcPersistentSessionIdentityDecorator

2010-04-24 Thread Christoph René Pardon
Hello community, i have a problem with ezcPersistentSessionIdentityDecorator. After creating definition files i tried to create a select statement to fetch all rows from all dependent tables. The createt statements works fine within MySQL-Querybrowser but not with a find() or findWithRelations met

Re: [Components] ezcPersistentSessionInstance

2010-03-05 Thread Christoph René Pardon
Hi, sorry for any inconvenience. Now i've solved my problem by setting: private $_id; to: public $id; :) > Hi, > > first of all, my problem: > > Exceptioninformation: > Message: The object of type Yela_Persistence_Users is not persistent. > Stack trace: > #0 > var/www/YelaCMS/library/ezc/Per

[Components] ezcPersistentSessionInstance

2010-03-04 Thread Christoph René Pardon
Hi, first of all, my problem: Exceptioninformation: Message: The object of type Yela_Persistence_Users is not persistent. Stack trace: #0 var/www/YelaCMS/library/ezc/PersistentObject/src/persistent_session.php(127): ezcPersistentLoadHandler->refresh(Object(Yela_Persistence_Users)) How do i in