[Checkins] [zopefoundation/Zope] 016a3f: Re-add example section for how to use TemporaryFol...

GitHub noreply at github.com
Thu May 17 11:50:27 CEST 2018


  Branch: refs/heads/add_app_to_product_context
  Home:   https://github.com/zopefoundation/Zope
  Commit: 016a3f1d66a39d7a847d971ae926681815ccee1d
      https://github.com/zopefoundation/Zope/commit/016a3f1d66a39d7a847d971ae926681815ccee1d
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/Zope2/utilities/skel/etc/wsgi.conf.in

  Log Message:
  -----------
  Re-add example section for how to use TemporaryFolder


  Commit: bba6eee800041d54b7ac2fe6414d889f328e0d18
      https://github.com/zopefoundation/Zope/commit/bba6eee800041d54b7ac2fe6414d889f328e0d18
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    M src/App/ProductContext.py
    M src/OFS/Application.py

  Log Message:
  -----------
  Hand Application object to Products through ProductContext

Products receive the ProductContext as the first parameter
to their initialize() method when they are loaded. This context used to
contain a reference to the app until it was removed during Zope 4
preparations. The Application was, however, never exposed through an
API.

Access to the API is necessary for certain products that automatically
add objects to the Application when they are loaded, such as the
Products.Sessions and Products.TemporaryFolder. This used to happen in
OFS.Application in Zope 2, but was moved out when the products became
indepentent.


  Commit: e005d276340e0cbeafe8d3e9a195e04f5bdbc7d8
      https://github.com/zopefoundation/Zope/commit/e005d276340e0cbeafe8d3e9a195e04f5bdbc7d8
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-05-17 (Thu, 17 May 2018)

  Changed paths:
    A src/OFS/tests/applicationproduct/__init__.py
    M src/OFS/tests/testAppInitializer.py

  Log Message:
  -----------
  Add unit test for application initialization in product


Compare: https://github.com/zopefoundation/Zope/compare/34c126845b8e...e005d276340e
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list