This topic contains 3 replies, has 2 voices, and was last updated by alendo 9 years, 4 months ago.
- Topic
I have the same code installed on my mac and on my server. I upgraded my entities to be compliant with organization management so I added the annotation
1234567891011* @OroEntityConfig\Config(* defaultValues={* "ownership"={* "owner_type"="BUSINESS_UNIT",* "owner_field_name"="owner",* "owner_column_name"="business_unit_owner_id",* "organization_field_name"="organization",* "organization_column_name"="organization_id"* },and the related field, getter and setter for organization. On my computer I can see my entities datagrid, and in the log I have a correct:
12345[2014-11-26 12:23:24] doctrine.DEBUG: SELECT count(e0_.id) AS sclr0 FROM educacloud_checklist e0_ WHERE e0_.organization_id = 1 [] [][2014-11-26 12:23:24] security.DEBUG: ACL found, permission granted. Voting to grant access [] [][2014-11-26 12:23:24] doctrine.DEBUG: SELECT e0_.id AS id0, e0_.title AS title1, e0_.description AS description2, e0_.createdAt AS createdAt3, e0_.updatedAt AS updatedAt4 FROM educacloud_checklist e0_ WHERE e0_.organization_id = 1 ORDER BY e0_.createdAt DESC LIMIT 25 OFFSET 0 [] []On my server (with the same code) I have this log, and I don’t see any item:
12345[2014-11-26 10:44:48] doctrine.DEBUG: SELECT count(e0_.id) AS sclr0 FROM educacloud_checklist e0_ WHERE 1 = 0 [] [][2014-11-26 10:44:48] security.DEBUG: ACL found, permission granted. Voting to grant access [] [][2014-11-26 10:44:48] doctrine.DEBUG: SELECT e0_.id AS id0, e0_.title AS title1, e0_.description AS description2, e0_.createdAt AS createdAt3, e0_.updatedAt AS updatedAt4 FROM educacloud_checklist e0_ WHERE 1 = 0 ORDER BY e0_.createdAt DESC [] []Is there any configuration item that I can verify?
thanks
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.