[turba] [patch] ldap_rename when key changes

Tarjei Huse tarjei+a_lists.phpgw at nu.no
Sat Feb 21 12:15:18 PST 2004


Hi, 
> > The only problem I have is making the change known to the Turba_Object
> > with the consequence that the $object->getValue('name') call in edit.php
> > returns the old objectid. This causes the user to be redirected to a
> > nonexisting object - thus producing an error.
> > I would appreciate if someone with a good knowledge of Turba could tell
> > me the correct way to notify the Turba_Object that the id has changed.

> Try what I just committed (which included your patch). Thanks!

It had a minor error that happened when you converted it to what I guess is
Horde Codingstandards. Also I had to modify edit.php so it check if the key has
been updated. With the followin patch things work for me.

Tarjei



> -chuck
> 
> --
> "Here, I brought some cole slaw. It's made from peeeooople! Just kidding."
> -- 
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldap_rename.patch
Type: application/octet-stream
Size: 1889 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20040221/62aed9f1/ldap_rename.obj


More information about the turba mailing list