1. 27 Dec, 2022 2 commits
  2. 26 Dec, 2022 2 commits
    • Jérome Perrin's avatar
      standard_error_message: Adjust exception context for Zope 4 · 62cd80df
      Jérome Perrin authored
      Since Zope 4, the `standard_error_message` is rendered in the context
      of REQUEST['PUBLISHED'], which in case of publishing a skin (page
      template or script) in the context of a document is is the skin itself,
      but for error rendering in case of erp5_web Web Site or Web Section,
      we expect standard_error_message_template to always be rendered in the
      context of the document, that's why we use REQUEST.PARENTS[0] as context.
      
      REQUEST.PUBLISHED = <PythonScript at /erp5/script used for /erp5/module/document>
      REQUEST.PARENTS [<Document>, <Module>, <ERP5Site>, ...]
      62cd80df
    • Jérome Perrin's avatar
      5a2d3571
  3. 22 Dec, 2022 1 commit
  4. 21 Dec, 2022 3 commits
  5. 20 Dec, 2022 2 commits
  6. 19 Dec, 2022 13 commits
  7. 18 Dec, 2022 3 commits
  8. 16 Dec, 2022 13 commits
  9. 14 Dec, 2022 1 commit