Where to fix Kupu bbb missing set_stripped_tags called by FilterControlPanelAdapter

Anthony Gerrard <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAHA8JiQnR1hAvZqNb3WKf3JD_cdNsjKZpqYMT7u8xQAyBhOGfw@mail.gmail.com>
Hi,

I'm facing a problem after upgrading my client's site to Plone 4.3.
 plone.app.controlpanel.filter.FilterControlPanelAdapter.stripped_tags has
the following block of code

            if self.kupu_tool is not None:
                self.kupu_tool.set_stripped_tags(value)

but plone.app.upgrade.kupu_bbb.PloneKupuLibraryTool has no method
set_stripped_tags.

Please can someone explain to me what interface the kupu_bbb tool should be
providing?  The methods it does have are more than no-ops. My initial
thought was to simply tweak FilterControlPanelAdapter like so

            if (self.kupu_tool is not None and
                    hasattr(self.kupu_tool, 'set_stripped_tags')):
                self.kupu_tool.set_stripped_tags(value)

but I can't help thinking the bug is in kupu_bbb.  I could add a no-op
method for set_stripped_tags.  Would that be OK?

yours

Anthony

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.