Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
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
Matevz Golob
wendelin
Commits
54546638
Commit
54546638
authored
Oct 30, 2016
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ingestion: log if parsing does not return movment_dict
parent
7eab3578
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.IngestionPolicy.py
...teItem/portal_components/document.erp5.IngestionPolicy.py
+5
-0
No files found.
bt5/erp5_wendelin/DocumentTemplateItem/portal_components/document.erp5.IngestionPolicy.py
View file @
54546638
...
@@ -76,6 +76,11 @@ class IngestionPolicy(Folder):
...
@@ -76,6 +76,11 @@ class IngestionPolicy(Folder):
# search for an existing movement and if we do not find one, we create
# search for an existing movement and if we do not find one, we create
# a new one.
# a new one.
movement_dict
=
tag_parsing_script
(
reference
)
movement_dict
=
tag_parsing_script
(
reference
)
if
not
movement_dict
:
# unsuccessfull parsing log and do not process
self
.
log
(
"Bad tag: %s"
%
reference
)
return
# to simplyfy the catalog query, at the moment we assume that aggregate
# to simplyfy the catalog query, at the moment we assume that aggregate
# and resource are defined on Data Ingestion Line and the rest is
# and resource are defined on Data Ingestion Line and the rest is
# defined on Data Ingestion. This assumption should be dropped later and
# defined on Data Ingestion. This assumption should be dropped later and
...
...
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