Re: [Zope] can't change zclass meta type
Dieter Maurer wrote: Geoffrey L. Wright writes: I can't seem to completely change a zclass meta type. When I make a change on the "basic" tab of the zclass, my change seems to take, and the new meta type is displayed in the form. But when I try to add an instance of this metatype, I still see the old meta type name in the dropdown. When I try to reference objects by metatype in my code, the new name does work, so it appears that the new metatype is ... mostly ... applied. Is this a bug? Or is the some other location where I also need to change this info? You must also change the factory, specifically the 'add list name'. See my previous message: http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687f0024bb5f/6163e128ae1c60db802569b400388292?OpenDocument Ivan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] can't change zclass meta type
Geoffrey L. Wright writes: I can't seem to completely change a zclass meta type. When I make a change on the "basic" tab of the zclass, my change seems to take, and the new meta type is displayed in the form. But when I try to add an instance of this metatype, I still see the old meta type name in the dropdown. When I try to reference objects by metatype in my code, the new name does work, so it appears that the new metatype is ... mostly ... applied. Is this a bug? Or is the some other location where I also need to change this info? New Meta Types must register with Zope to be available in the dropdown list. Apparently, this registration is not changed when you modify the meta type -- a bug. File a bug report into the collector. I would expect, the bug will get a low priority. Thus, if its fix is essential for you, you may look at the code and fix it yourself. A patch for the collector would be great in this case. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] can't change zclass meta type
I can't seem to completely change a zclass meta type. When I make a change on the "basic" tab of the zclass, my change seems to take, and the new meta type is displayed in the form. But when I try to add an instance of this metatype, I still see the old meta type name in the dropdown. When I try to reference objects by metatype in my code, the new name does work, so it appears that the new metatype is ... mostly ... applied. Is this a bug? Or is the some other location where I also need to change this info? -- Geoffrey L. Wright Developer / Systems Administrator (907) 563-2721 ex. 4900 http://www.integritysi.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )