RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Sinang, Danny
Because '/' is a reserved character since it is used in URLs as path separator. Any workarounds ? Is there a way to refer to the said objects without using the '/' ? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Andreas Jung
--On 10. August 2006 13:59:55 +0800 Sinang, Danny [EMAIL PROTECTED] wrote: Because '/' is a reserved character since it is used in URLs as path separator. Any workarounds ? Is there a way to refer to the said objects without using the '/' ? Huh? Usually you have no chance to create a

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Sinang, Danny
Huh? Usually you have no chance to create a Zope object with such an id. So there is no need to rename something that can't exist be definition :-) Exactly. The said object, s5/Begin, is the Begin activity of the s5 process found in the GeneralWorkflow workflow - which is an OpenFlow (

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Andreas Jung
--On 10. August 2006 14:19:40 +0800 Sinang, Danny [EMAIL PROTECTED] wrote: Huh? Usually you have no chance to create a Zope object with such an id. So there is no need to rename something that can't exist be definition :-) Exactly. The said object, s5/Begin, is the Begin activity of

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Gabriel Genellina
At Thursday 10/8/2006 03:19, Sinang, Danny wrote: I was able to rename my processes (S5, S100, S200) to their lowercase counterparts since all I had to do was do : When I try to rename the activities found in those processes, I try to do likewise, but the ZopeFind results come out like this :

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Sinang, Danny
You must call manage_renameObject on the object *container*, passing the old name and the new name. Something like this: object = result[1] container = object.aq_parent container.manage_renameObject(object.id, object.id.lower()) Thanks Gabriel. I did exactly as you suggested, but ran

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Gabriel Genellina
At Thursday 10/8/2006 04:01, Sinang, Danny wrote: The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation. You should then ask the OpenFlow guys how to rename an item. Gabriel Genellina Softlab SRL

Re: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-09 Thread Andreas Jung
--On 10. August 2006 13:47:32 +0800 Sinang, Danny [EMAIL PROTECTED] wrote: Hello, I'm trying to rename an object called s5/Begin to its lower case counterpart s5/begin by using the manage_renameObject () method, but I'm getting the message The id s5/begin contains characters illegal in