Hi folks I'm attempting to use Plone with CMF 1.4.2 and Zope 2.7b2. I'm getting errors in PloneFolder.__call__() where I first substituted the call to the local (PloneFolder) _getViewFor() with that of the one in CMFCore.utils (since in its original state, the local _getViewFor() failed because it thought action was a dict). This fails because CMFCore.utils._getViewFor() returns the original PloneFolder object - which gets __call__()ed again until we run out of stack. I also see this behaviour with my own custom folder class. I then tried fixing the PloneFolder._getViewFor() so it treated action as an object. This function now fails in the call to restrictedTraverse(action.action) where the incoming path is expected to be a list or string, not an action object. Being something of a newcomer to CMF, Plone et al, I have to say I'm a bit stuck at the moment. Do I have to roll back to earlier versions of CMF/Plone/Zope, or is there a quick fix? What would be _really_ handy is if some knowledgeable individual could offer a brief explanation of the purpose of _getViewFor(). I'm kind of enjoying poking around in all this code, but its taking way longer than I budgeted. Any info gratefully received. Thanks Mark
Mark Wilson wrote:
I'm attempting to use Plone with CMF 1.4.2 and Zope 2.7b2. I'm getting errors [...] Any info gratefully received. Thanks
1.) This list is for development *of* Zope, not *with* Zope. 2.) See <http://plone.org/development/lists> for Plone lists. 3.) You know Plone 1.x requires CMF 1.3.3, Plone 2.x requires CMF 1.4.2? 4.) If you still want to modify Plone 1.x: Search plone-users archives at gmane for _getViewFor. HTH, Yuppie
OK - thanks for the links. I will investigate further. Mark
participants (2)
-
Mark Wilson -
Yuppie