Submitted by : hideo at yokohama at: 2006-10-25T08:53:18+00:00 (11 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

In CMF.py, setCreator() sets value to self.creators (plural), whereas, Creator() looks at self.creator (singular). The set value is never read. Results in missing creator info in folder views and wiki pages not showing up in author pages.

http://my.opera.com/hideo_at_yokohama/blog/2006/10/25/creator-attribute-problems-found-in-zw

... --simon, Wed, 01 Nov 2006 10:14:12 -0800 reply

Thanks for these reports!

I don't see where self.creators is set (no setCreator in CMF.py here) ?

local fix works --kcleong, Wed, 20 Feb 2008 03:37:42 -0800 reply

Creator info is still not available in version 0.59. Yokohama's fix works:

def Creator(self):
if self.creators and len(self.creators) > 0:
return self.creators[0]?
else:
return None

fixed in darcs --simon, Thu, 01 May 2008 19:03:56 -0700 reply

Status: open => closed

I have committed a similar fix, returning the CMF creators if available and otherwise the Zwiki creator. Test reports welcome.