1. 28 Dec, 2022 1 commit
  2. 27 Dec, 2022 5 commits
  3. 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
  4. 22 Dec, 2022 1 commit
  5. 21 Dec, 2022 3 commits
  6. 20 Dec, 2022 2 commits
  7. 19 Dec, 2022 13 commits
  8. 18 Dec, 2022 3 commits
  9. 16 Dec, 2022 10 commits