[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();

[Components] Node activates less conditional outgoing nodes than required

2010-04-28 Thread Margusja
Hi, I have the workflow: http://ftp.margusja.pri.ee/demowf.png I presume if I can create and execute the workflow then I might to resume it. I have simple the code . almost copy paste from the documentation. 1 ?php 2 set_include_path( /var/www/arendus/mehis/big/library/ezcomponents/ .

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

2010-04-28 Thread Derick Rethans
On Wed, 28 Apr 2010, Christoph René Pardon wrote: There are some attributes missing in my statement. The definition file looks like this: $def = new ezcPersistentObjectDefinition(); $def-table = 'yela_core_acl_rules'; $def-class = 'Yela_Persistence_Core_Acl_Rules'; $def-idProperty

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

2010-04-28 Thread Christoph René Pardon
Hello Derick, thank you very much :) I've changed idProperty to normal properties. The problem was, that i've used the ezc-Tools to create the definition files. // Creates a schema.xml from current database table. // Needed for Persistent Object creation. $schema = ezcDbSchema::createFromDb(