Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
bb99340d
Commit
bb99340d
authored
Mar 17, 2021
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
178b7e0c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
product/ERP5/bin/zopewsgi.py
product/ERP5/bin/zopewsgi.py
+1
-1
product/Formulator/FieldRegistry.py
product/Formulator/FieldRegistry.py
+2
-1
product/Formulator/Form.py
product/Formulator/Form.py
+2
-2
No files found.
product/ERP5/bin/zopewsgi.py
View file @
bb99340d
...
...
@@ -161,7 +161,7 @@ def runwsgi():
args
=
parser
.
parse_args
()
startup
=
os
.
path
.
dirname
(
Zope2
.
Startup
.
__file__
)
schema
=
ZConfig
.
loadSchema
(
os
.
path
.
join
(
startup
,
'
zope
schema.xml'
))
schema
=
ZConfig
.
loadSchema
(
os
.
path
.
join
(
startup
,
'
wsgi
schema.xml'
))
conf
,
_
=
ZConfig
.
loadConfig
(
schema
,
args
.
zope_conf
)
make_wsgi_app
({},
zope_conf
=
args
.
zope_conf
)
...
...
product/Formulator/FieldRegistry.py
View file @
bb99340d
import
os
import
OFS
from
App.ImageFile
import
ImageFile
from
FieldHelpTopic
import
FieldHelpTopic
# XXX-AUREL this is not even used and import HelpSys which was removed
#from FieldHelpTopic import FieldHelpTopic
class
FieldRegistry
:
"""A registry of fields, maintaining a dictionary with
...
...
product/Formulator/Form.py
View file @
bb99340d
...
...
@@ -27,7 +27,7 @@ from ComputedAttribute import ComputedAttribute
# FIXME: manage_renameObject hack needs these imports
from
Acquisition
import
aq_base
from
App.Dialogs
import
MessageDialog
from
OFS.CopySupport
import
CopyError
,
eNotSupported
from
OFS.CopySupport
import
CopyError
import
sys
class
Form
:
...
...
@@ -687,7 +687,7 @@ class ZMIForm(ObjectManager, PropertyManager, RoleManager, Item, Form):
action
=
'manage_main'
)
ob
=
self
.
_getOb
(
id
)
if
not
ob
.
cb_isMoveable
():
raise
CopyError
,
eNotSupported
%
id
raise
CopyError
(
'Not Supported'
)
self
.
_verifyObjectPaste
(
ob
)
try
:
ob
.
_notifyOfCopyTo
(
self
,
op
=
1
)
except
:
raise
CopyError
,
MessageDialog
(
...
...
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