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.