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
24090c5c
Commit
24090c5c
authored
Jun 14, 2011
by
Jamie Lentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure __name__ is not None as well as __name__ existing.
parent
f1c86907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
doc/CHANGES.rst
doc/CHANGES.rst
+3
-0
src/Zope2/App/startup.py
src/Zope2/App/startup.py
+1
-1
No files found.
doc/CHANGES.rst
View file @
24090c5c
...
...
@@ -11,6 +11,9 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed
++++++++++
- Ensure __name__ is not None as well as __name__ existing. For example, object
could be a widget within a z3c.form MultiWidget, which do not have __name__ set.
- Testing: Re-added 'extra' argument to Functional.publish.
Removing it in Zope 2.13.0a1 did break backwards compatibility.
...
...
src/Zope2/App/startup.py
View file @
24090c5c
...
...
@@ -323,7 +323,7 @@ class TransactionsManager:
while
object
is
not
None
and
\
not
hasattr
(
object
,
'getPhysicalPath'
):
if
not
hasattr
(
object
,
'__name__'
)
:
if
getattr
(
object
,
'__name__'
,
None
)
is
None
:
object
=
None
break
to_append
=
(
object
.
__name__
,)
+
to_append
...
...
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