#591 Incompatibilities with 2.2.1 and Plone 2.1

open
CMFBoard (20)
5
2006-08-07
2006-08-07
Nick Bower
No

You have moved from storing references to content for
talkback to the uids to content, and then used this and
acquisition in Title(). This is not good -
pretty_title_or_id for example (as used by many that
use main_template) does an aq_base before calling
Title(). Therefore, most content comes back with
"Broken content!!!"

def _get_content(self):
if self.content_uid:
try:
talkback =
self.archetype_tool.lookupObject(self.content_uid)
...

def Title(self):
""" """
try:
ob = self._get_content()
return ob.Title()
except:
return 'Broken content!!!'

I've noticed a few issues with CMFBoard like above.
I've been trying to diagnose why we've suddenly lost
all content between present and a previous 2.2.1
upgrade for example, maybe due to a simple
administrative change.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks