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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
ec94d670
Commit
ec94d670
authored
Jul 11, 2017
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debugging info in traceback
parent
2cf95f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
product/ERP5SyncML/Document/SyncMLSubscription.py
product/ERP5SyncML/Document/SyncMLSubscription.py
+1
-2
No files found.
product/ERP5SyncML/Document/SyncMLSubscription.py
View file @
ec94d670
...
@@ -469,7 +469,6 @@ class SyncMLSubscription(XMLObject):
...
@@ -469,7 +469,6 @@ class SyncMLSubscription(XMLObject):
#document = None # For now, do no try to retrieve previous version of document
#document = None # For now, do no try to retrieve previous version of document
# XXX this has to be managed with a property
# XXX this has to be managed with a property
# XXX Some improvement can also be done to retrieve a list of document at once
# XXX Some improvement can also be done to retrieve a list of document at once
# Get the data
# Get the data
if 'xml_data' in action:
if 'xml_data' in action:
# Rebuild an Element
# Rebuild an Element
...
@@ -485,7 +484,7 @@ class SyncMLSubscription(XMLObject):
...
@@ -485,7 +484,7 @@ class SyncMLSubscription(XMLObject):
signature.appendPartialData(incoming_data)
signature.appendPartialData(incoming_data)
incoming_data = signature.getPartialData()
incoming_data = signature.getPartialData()
signature.setPartialData(None)
signature.setPartialData(None)
__traceback_info__ = (gid, document, incoming_data, action['command'])
# Browse possible actions
# Browse possible actions
if action["
command
"] == 'Add':
if action["
command
"] == 'Add':
status_code = "
item_added
" # Default status code for addition
status_code = "
item_added
" # Default status code for addition
...
...
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