Main_template no longer overridable with z3c.jbot in Plone 5.2

See https://github.com/plone/Products.CMFPlone/issues/2918

This has been biting me a few times now and I have the experience to override browser views, but this is really beginner unfriendly that we can customise more and more since z3c.jbot 1.1, but not the main_template itself anymore.

Is there anything that can be done to work around the work around that introduced this issue in 2019 (https://github.com/plone/Products.CMFPlone/commit/6de2544b2432b9b0739719eae81b3e1776b217ed)

1 Like

From what I get from the discussion is that the problem is a not well understood edge case in Chameleon, difficult to reproduce isolated. It was not fixed, but a workaround was applied.
I can identify at least two things why we do not want this:

  1. no easy customization
  2. template is instantiated on each call 2 times (vs. 1 time at Zope startup only before), so a performance issue (probably a small one).