[quills-dev] Problems with workflows in QuillsEnabled 1.7.0b1
Tim Hicks tim at sitefusion.co.ukTue Jul 8 13:36:54 UTC 2008
- Previous message: [quills-dev] Problems with workflows in QuillsEnabled 1.7.0b1
- Next message: [quills-dev] portlets and IPossibleWeblogEntry
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Sanchez wrote: > Tim, > > Yes it eventually calls IWeblogLocator that apparently checks for a IWeblog or > IWeblogEnhanced in the container (I do not understand much of the Plone/Zope > internal mechanisms), and it fails because there isn't anything in the > folder... > > weblog_content = recurseToInterface(self.context.aq_inner, > 20 (IWeblog,IWeblogEnhanced)) > 21 -> if weblog_content is None: > 22 return [] > 23 return IWeblog(weblog_content) > > > Why is the BasePortletRenderer.available check needed, anyways? Because the portlet shouldn't be available outside of a weblog. Are you able to put a pdb trace in before the recurseToInterface call to see what's going on? Tim
- Previous message: [quills-dev] Problems with workflows in QuillsEnabled 1.7.0b1
- Next message: [quills-dev] portlets and IPossibleWeblogEntry
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the quills-dev mailing list