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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
722bf02c
Commit
722bf02c
authored
Oct 13, 2021
by
Cédric Le Ninivin
Committed by
Titouan Soulard
Nov 15, 2024
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
2df25beb
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 @
722bf02c
...
...
@@ -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