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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
f0a5de58
Commit
f0a5de58
authored
Oct 13, 2021
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_upgrader: Severity should not be 0 when fixing
* this is inconsistent with Base_checkAlarmConsistency
parent
513cdc3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Base_postCheckConsistencyResult.py
...al_skins/erp5_upgrader/Base_postCheckConsistencyResult.py
+1
-1
No files found.
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Base_postCheckConsistencyResult.py
View file @
f0a5de58
...
...
@@ -5,6 +5,6 @@ with context.defaultActivateParameterDict(activate_kw, placeless=True):
if
constraint_message_list
:
active_process
=
context
.
getPortalObject
().
restrictedTraverse
(
active_process
)
active_process
.
postActiveResult
(
severity
=
0
if
fixit
else
1
,
severity
=
1
,
summary
=
"%s Consistency - At least one inconsistent object found"
%
(
'Fix'
if
fixit
else
'Check'
,
),
detail
=
[
m
.
message
for
m
in
constraint_message_list
])
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