[Zope-Coders] Re: [ZC] 38/ 2 Comment "Rename problems in nested ZClasses"

Lars Heber Lars.Heber@t-systems.de
Tue, 27 Nov 2001 16:29:59 +0100


"Collector: Zope Bugs and Patches ..." wrote:

> Issue #38 Update (Comment) "Rename problems in nested ZClasses"
>  Status Pending, Zope/bug medium
> To followup, visit:
>   http://collector.zope.org/Zope/38
>
> ==============================================================
> = Comment - Entry #2 by ajung on Nov 27, 2001 8:37 am
>
> I have been trying to reproduce the problem with a fresh 2.4
> checkout but renaming did not add any spaces add the end of the id. Maybe you can give us a detailed description how to reproduce it.
>
> Andreas Jung
> ________________________________________
> = Request - Entry #1 by Anonymous User on Nov 15, 2001 10:54 am
>
> Developing some complex ZClass things, when working on developing I noticed the following:
> I have a ZClass which contains other ZClasses. When trying to rename the inner ZClasses, it seems that always a space " " is appended to the new name.
> Also all the new URLs contain the space as %20. Even undoing the renaming doesn't remove the space but appends it to the old name!
> I tried it with two different kinds of ZClasses...
> ==============================================================

I just tried it again:
Create a ZClass dummy.
Change into it.
Create in it another ZClass anotherDummy.
You get the Class, the add things and the factory.
And that's the provided link for the class anotherDummy:
 [...]/Control_Panel/Products/testProduct2/dummy/propertysheets/methods/anotherDummy%20/manage_workspace
When you follow this link, everything is fine, but here you can also see the space in the headline (immediately under the tabs):
Z Class at  /Control_Panel/Products/testProduct2/dummy/propertysheets/methods/anotherDummy /propertysheets/methods

Note the space after "anotherDummy".

Hope this helps...
--
Lars Heber, mailto:Lars.Heber@t-systems.de

T-Systems, debis Systemhaus GEI GmbH, Geschaeftsstelle Sachsen