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
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
alecs_myu
erp5
Commits
077b6dba
Commit
077b6dba
authored
Jan 07, 2016
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_upgrader: fix upgrader detail rendering on error
parent
d26b78d7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_runPostUpgrade.xml
...eItem/portal_skins/erp5_upgrader/Alarm_runPostUpgrade.xml
+1
-2
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_runUpgrader.xml
...lateItem/portal_skins/erp5_upgrader/Alarm_runUpgrader.xml
+1
-2
No files found.
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_runPostUpgrade.xml
View file @
077b6dba
...
@@ -61,8 +61,7 @@ alarm = getattr(portal_alarms, \'upgrader_check_upgrader\')\n
...
@@ -61,8 +61,7 @@ alarm = getattr(portal_alarms, \'upgrader_check_upgrader\')\n
if not(force) and alarm.sense() in (None, True):\n
if not(force) and alarm.sense() in (None, True):\n
active_process.postActiveResult(summary=context.getTitle(),\n
active_process.postActiveResult(summary=context.getTitle(),\n
severity=1,\n
severity=1,\n
detail="Is required run upgrade before solve it. " +\\\n
detail=["Is required run upgrade before solve it. You need run active sense once at least on this alarm"])\n
"You need run active sense once at least on this alarm")\n
return\n
return\n
\n
\n
context.ERP5Site_checkUpgraderConsistency(fixit=True,\n
context.ERP5Site_checkUpgraderConsistency(fixit=True,\n
...
...
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/Alarm_runUpgrader.xml
View file @
077b6dba
...
@@ -70,8 +70,7 @@ alarm = getattr(portal_alarms, \'upgrader_check_pre_upgrade\')\n
...
@@ -70,8 +70,7 @@ alarm = getattr(portal_alarms, \'upgrader_check_pre_upgrade\')\n
if not(force) and alarm.sense() in (None, True):\n
if not(force) and alarm.sense() in (None, True):\n
active_process.postActiveResult(summary=context.getTitle(),\n
active_process.postActiveResult(summary=context.getTitle(),\n
severity=1,\n
severity=1,\n
detail="Is required solve Pre Upgrade first. " +\\\n
detail=["Is required solve Pre Upgrade first. You need run active sense once at least on this alarm"])\n
"You need run active sense once at least on this alarm")\n
return\n
return\n
\n
\n
_, type_per_constraint_type = context.Base_getConstraintTypeListPerPortalType()\n
_, type_per_constraint_type = context.Base_getConstraintTypeListPerPortalType()\n
...
...
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