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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
20dccf52
Commit
20dccf52
authored
Jan 10, 2018
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: LOG traceback when import from FS fails.
parent
448eea34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+7
-0
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
20dccf52
...
@@ -6346,6 +6346,13 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -6346,6 +6346,13 @@ Business Template is a set of definitions, such as skins, portal types and categ
version
,
version
,
erase_existing
=
erase_existing
)
erase_existing
=
erase_existing
)
except
Exception
,
e
:
except
Exception
,
e
:
import
traceback
LOG
(
"BusinessTemplate"
,
WARNING
,
"Could not import component '%s' ('%s') from the filesystem: %s"
%
(
temp_obj
.
getReference
(),
temp_obj
.
getSourceReference
(),
traceback
.
format_exc
()))
failed_import_dict
[
temp_obj
.
getReference
()]
=
str
(
e
)
failed_import_dict
[
temp_obj
.
getReference
()]
=
str
(
e
)
else
:
else
:
portal_type
=
obj
.
getPortalType
()
portal_type
=
obj
.
getPortalType
()
...
...
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