<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2>I'm trying to rename
an object called "s5/Begin" to its lower case counterpart "s5/begin" by using
the <STRONG>manage_renameObject </STRONG>() method, but I'm getting the message
<FONT color=#ff0000></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2><FONT
color=#ff0000></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2><STRONG><FONT
color=#ff0000>The id "s5/begin" contains characters illegal in URLs</FONT>
.</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2>Any idea what I
did wrong here ?</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2>My Python script is
as follows :</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2>======================</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2>wf =
container.GeneralWorkflow<BR>catalog = wf.Catalog</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial size=2>activities =
catalog.ZopeFind (wf, obj_metatypes=['Activity'], search_sub=1)
</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=132033705-10082006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=132033705-10082006>for a in
activities:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=132033705-10082006>
print a[0]</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=132033705-10082006>
wf.manage_renameObject (a[0], a[0].lower())</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2>======================</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=132033705-10082006><FONT face=Arial
size=2>Danny</FONT></SPAN></DIV></BODY></HTML>