4teamwork/ftw.book — pull request #75 by cillianderoiste (2014-11-05 17:46:16+00:00)
Title: Fix namespace adapters for Chapter and Book objects

Adapting to Interface for the layout seems to be too generic. It takes
precedence over namespace adapters such as ++add++ for example:

>>> ttool = getToolByName(self.context, 'portal_types')
>>> ti = ttool.getTypeInfo("Image")
>>> queryMultiAdapter((self.context, self.request, ti))

(cherry picked from commit 1474162630cad86fe0fd564027b664da4b1a9c17)