24 Feb 15:55
unicode bug when cataloging AT instance
Hey madduck, In 2005, you hit a bug that I feel like I am hitting now. At the time, you requested some help but don't appear to have got any answer (see your 2005 email at the end of this email). Any insight since then ? Here is the bug description : I get a ZCatalogError every time I try to instantiate an item of a given type (eXtremeManagement's Project type in my case). It appears that the reason for that is that Archetypes turns the id string of the new item into an unicode before trying to update the newly created item and have it cataloged. And unicode ids aren't supported, hence the exception. Archetypes does this decoding because it can't find a "raw" attribute in the ID field. I guess ID fields should always have a "raw" attribute. I don't know why it's not here in my case. I have no idea why and what to do about this. My Project type comes from Products.eXtremeManagement 2.0rc2. Some fields (skillsProfile, ...) are added to its schema using archetypes.schemaextender 1.0. I have Products.Archetypes 1.5.10 under the hoods (Plone 3.2.1). Is this a bug from my extender ? an eXtremeManagement bug ? a schemaextender bug ? an Archetypes bug ? My traceback : Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish(Continue reading)
RSS Feed