Share » Forums » Install & configuration » Can't fetch custom user objects?

Can't fetch custom user objects?

Can't fetch custom user objects?

Monday 20 November 2006 2:04:30 am - 4 replies

Modified on Monday 20 November 2006 3:52:46 am by Siniša Šehović

Author Message

Xavier Dutoit

Monday 20 November 2006 2:32:10 am

Hi Sinisa,

Stupid questions:

Are you sure the current user has the right to read the custom user class ?

Also, are they under the node 60 (both users) ?

on your parameters array, add a limitations=array() to skip the access right control (might help).

X+

http://www.sydesy.com

Siniša Šehović

Monday 20 November 2006 3:05:36 am

Hi Xavier

Thanx for tip.

Anonymous user have read access to custom class.

Under the node 60 are both users.

Fetch is not working ( I have put 'Limitations' =>array() )

Please help!

S.

---
If at first you don't succeed, look in the trash for the instructions.

Siniša Šehović

Monday 20 November 2006 6:44:24 am

Hi Xavier

I think I have problem with my database data.

For test I have dropped custom user class, recreated and imported users.
Now I can fetch ...

BUT with remove of class my objects lost information about owners.

How to recreate information?

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

Siniša Šehović

Monday 27 November 2006 6:06:52 am

Problem solved after adding Language parameter in fetch.

S.

---
If at first you don't succeed, look in the trash for the instructions.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu