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
bca2545e
Commit
bca2545e
authored
Jul 30, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing collector 2442, changes to copysupport break ZPatterns and Formulator.
parent
caac4d8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/python/OFS/CopySupport.py
lib/python/OFS/CopySupport.py
+2
-2
No files found.
lib/python/OFS/CopySupport.py
View file @
bca2545e
...
...
@@ -83,7 +83,7 @@
#
##############################################################################
__doc__
=
"""Copy interface"""
__version__
=
'$Revision: 1.7
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.7
4
$'
[
11
:
-
2
]
import
sys
,
string
,
Globals
,
Moniker
,
tempfile
,
ExtensionClass
from
marshal
import
loads
,
dumps
...
...
@@ -305,13 +305,13 @@ class CopyContainer(ExtensionClass.Base):
title
=
'Rename Error'
,
message
=
sys
.
exc_info
()[
1
],
action
=
'manage_main'
)
self
.
_delObject
(
id
)
ob
=
aq_base
(
ob
)
ob
.
_setId
(
new_id
)
# Note - because a rename always keeps the same context, we
# can just leave the ownership info unchanged.
self
.
_setObject
(
new_id
,
ob
,
set_owner
=
0
)
self
.
_delObject
(
id
)
if
REQUEST
is
not
None
:
return
self
.
manage_main
(
self
,
REQUEST
,
update_menu
=
1
)
...
...
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