[z3-five] SimpleViewClass and __hash__
Jean-Marc Orliaguet
jmo at chalmers.se
Mon May 9 14:49:11 CEST 2005
Florent Guillaume wrote:
>Jean-Marc Orliaguet wrote:
>
>
>>>But in getRequestedThemeAndPageName you have this code:
>>>
>>>if published is not None:
>>> try:
>>> published = published.getId()
>>> except AttributeError:
>>> pass
>>> theme = self.getThemeByMethod(published)
>>>
>>>That's what I'm talking about.
>>>
>>>
>>OK, you mean that CPSSkins w/ Five crashes when the 'published' argument
>>passed to getThemeByMethod is None?
>>
>>
>
>No. I'm saying that if the published doesn't have a getId() method, then
>you pass an object to getThemeByMethod instead of a string.
>
>Florent
>
>
Ok,
Now it's corrected in the svn
http://svn.nuxeo.org/trac/pub/changeset/21465
/JM
More information about the z3-five
mailing list