• Jérome Perrin's avatar
    patches: add a compatibility patch for `zope_quick_start` · ed04d7d3
    Jérome Perrin authored
    `zope_quick_start` was a dtml that was removed in Zope commit c8e4cd5ca
    (Simplify control panel objects and actually make them non-persistent.,
    2016-08-14), but it is referenced in /index_html page template, which
    contains:
    
        <tal:text tal:replace="structure context/zope_quick_start" />
    
    As a result, rendering / is an error page because of KeyError: 'zope_quick_start'
    
    In SlapOS setup, we are using / in an haproxy health check, so the
    health check fail and zope is marked as down and haproxy does not send
    requests to backend.
    
    We could have an upgrader constraint to repair this page template, but
    because of this, zope is unreachable through haproxy, so it's easier to
    ressort to monkey patching.
    ed04d7d3
OFSFolder.py 2.71 KB