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

2010-04-28 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();

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

2010-04-28 Thread Christoph René Pardon
./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, Christoph René Pardon wrote: There are some attributes missing in my

[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

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

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 sense. If i try $ezcSession

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

[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