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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
cdaef829
Commit
cdaef829
authored
Jun 28, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_forge: fix BT export in VCS tab when WSGI is used
parent
7f920b14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/tree.xml.py
..._forge/SkinTemplateItem/portal_skins/erp5_vcs/tree.xml.py
+2
-2
No files found.
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/tree.xml.py
View file @
cdaef829
...
...
@@ -11,6 +11,6 @@ if not root:
if
REQUEST
is
not
None
:
# XXX workaround to prevent zodb bloat (bt build)
# This script is mostly used by javascript, we can abort the transaction
REQUEST
.
RESPONSE
.
write
(
vcs_tool
.
treeToXML
(
root
))
raise
ValueError
(
"Abort transaction"
)
import
transaction
transaction
.
doom
(
)
return
vcs_tool
.
treeToXML
(
root
)
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