Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
dc1185bc
Commit
dc1185bc
authored
Feb 02, 2016
by
Tres Seaver
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #45 from zopefoundation/thet-zope4
Fix two issues
parents
c843a701
ef457af8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
23 deletions
+30
-23
CHANGES.rst
CHANGES.rst
+8
-0
src/App/FactoryDispatcher.py
src/App/FactoryDispatcher.py
+2
-2
src/Products/PageTemplates/ZopePageTemplate.py
src/Products/PageTemplates/ZopePageTemplate.py
+20
-21
No files found.
CHANGES.rst
View file @
dc1185bc
...
...
@@ -11,6 +11,14 @@ http://docs.zope.org/zope2/
Bugs Fixed
++++++++++
- bobo_traverse of ProductDispatcher did not correctly invalidate cache
when a product was not initializes after first access of the cache. Types
that were added in test-profiles were not useable.
[pbauer, jensens]
- Fix pt_editForm after the help-system was removed.
[pbauer]
- Skipped ipv6 test on Travis, because Travis no longer supports this.
- LP #789863: Ensure that Request objects cannot be published / traversed
...
...
src/App/FactoryDispatcher.py
View file @
dc1185bc
...
...
@@ -79,8 +79,8 @@ class ProductDispatcher(Implicit):
# Try to get a custom dispatcher from a Python product
global
_packages
try
:
package
=
_packages
.
get
(
name
,
None
)
except
NameError
:
package
=
_packages
[
name
]
except
(
NameError
,
KeyError
)
:
_packages
=
_product_packages
()
package
=
_packages
.
get
(
name
,
None
)
...
...
src/Products/PageTemplates/ZopePageTemplate.py
View file @
dc1185bc
...
...
@@ -83,8 +83,7 @@ class ZopePageTemplate(Script, PageTemplate, Historical, Cacheable,
'www'
,
'default.html'
)
manage_options
=
(
{
'label'
:
'Edit'
,
'action'
:
'pt_editForm'
,
'help'
:
(
'PageTemplates'
,
'PageTemplate_Edit.stx'
)},
{
'label'
:
'Edit'
,
'action'
:
'pt_editForm'
},
{
'label'
:
'Test'
,
'action'
:
'ZScriptHTML_tryForm'
},
)
+
PropertyManager
.
manage_options
\
+
Historical
.
manage_options
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment