-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters