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
1
Issues
1
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
Roque
erp5
Commits
acd98d90
Commit
acd98d90
authored
Aug 06, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explanation Cache: add debugging hints
parent
294f8bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/ExplanationCache.py
product/ERP5/ExplanationCache.py
+2
-0
No files found.
product/ERP5/ExplanationCache.py
View file @
acd98d90
...
@@ -325,6 +325,8 @@ class ExplanationCache:
...
@@ -325,6 +325,8 @@ class ExplanationCache:
try:
try:
result = cache[reference_date_key]
result = cache[reference_date_key]
if result is self: # use self as marker to detect infinite recursion
if result is self: # use self as marker to detect infinite recursion
__traceback_info__ = (business_process.getPath(), trade_phase,
reference_date_method_id, delay_mode)
raise ValueError('
No
reference
date
is
defined
,
probably
due
to
missing
Trade
Model
Path
in
Business
Process
')
raise ValueError('
No
reference
date
is
defined
,
probably
due
to
missing
Trade
Model
Path
in
Business
Process
')
return result
return result
except KeyError:
except KeyError:
...
...
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