Bug in ExtensibleMetadata.py
Andreas Gabriel <[email protected]> Wed, 07 Jun 2006 14:31:03 +0200
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Organization | Hochschulrechenzentrum Philipps-Universitaet Marburg |
| Message-ID | <[email protected]> |
Hello,
I have found a bug in ExtensibleMetadata.py. This bug can be found in
archetypes 1.3.3 and persists in higher versions (incl. trunk).
The last line of the addCreator function in line 545 (trunk version)
calls the creators field by the attribute name "creators", but the
accessor of the creators field is called "Creators". Therefore, line 545
has to be changed from
self.setCreators(self.creators + (creator, ))
to
self.setCreators(self.Creators() + (creator, ))
kind regards
A. Gabriel
PS: Is it possible to report directly a bug in
http://dev.plone.org/archetypes ? I haven't found
a way to create an account there.