Forums / Setup & design / not fetching my classes
Marko Žmak
Saturday 10 July 2004 6:59:38 am
I created some of my own classes and when I try to fetch objects with the following code, it doesn't fetch objects belonging to my classes.
{let folder_list=fetch( content, list, hash( 'parent_node_id', $search_node_id, ) )}
But it fetches only objects belonging to EZ native classes (Folder, Article...).
Why? Is it a bug, or I'm doing something wrong?
P.S. The classes I created are members of the Content group.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth
Saturday 10 July 2004 7:39:56 am
P.S. It happens only when fetching list, when I try to fetch a node (by node_id), everything works O.K.
Please help!
Paul Forsyth
Saturday 10 July 2004 7:52:03 am
You need to update the role permissions for your current user (typically the anonymouse user) to include your new classes.
Fetch is trying to read the objects but it doesnt have permissions to do so.
paul
--http://www.visionwt.com