Emiliano wrote:

> I'll assume this is a type. You should n't be able to log in with the
> leading '*'.

Yes, typo.

> > $art->print = 300; // $art is an article
> > $art->update();
> >
> > where the root user is not the author of $art? update seems to have no
> > effect while it does work when the root user is the author of $art. In
> > both cases the topic tree above $art is owned by the same group!
> > Strange...

The code in question used to work b4 my upgrade disaster.

> It ought to work. What does mgd_errstr say after the update call?

It says: "Name exists"

It is beginning to dawn upon me. But I have zillion of articles with the
same name. Is there any fix? Actually, I never request objects by name.
I just wrote the code so that the db is legible. Would it help if I set
all names to empty per SQL command? As far as I vaguely remember this
will result in name=id and thus be unique?

Jesus, this is an awful pitfall!


Frank

-- 
Dr Frank Boehme                      | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science             |   fax: +353-21-4903113
Cork, Ireland                        |

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to