erp5_xhtml_style: report error messages on clone as errors
The script `Base_createCloneDocument` was made to be user-friendly, reporting nice errors instead of throwing when a problems is detected. These errors are displayed using the `portal_status_message` parameter of `Base_redirect`, which looks like a warning on XHTML-style, but appears green with RenderJS. This commit adds an optional parameter `portal_status_level` to all calls to `Base_redirect` which are actually errors, so that they also look like a warning or error (orange background) on RenderJS. The behaviour in XHTML-style says identical. /cc @romain @vpelletier
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#739273
external
|
ERP5.CodingStyleTest-Master |
01:38:10
|
||||||
failed |
#739259
external
|
ERP5.PerformanceTest-Master |
00:43:23
|
||||||
failed |
#739288
external
|
ERP5.UnitTest-Master |
02:59:29
|
||||||
passed |
#739232
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:24
|
||||||
passed |
#739245
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:24:23
|
||||||
passed |
#739262
external
|
Wendelin.UnitTest-Master |
01:13:30
|
||||||
passed |
#739070
external
retried
|
ERP5.CodingStyleTest-Master |
00:55:35
|
||||||
passed |
#739199
external
retried
|
ERP5.CodingStyleTest-Master |
01:53:17
|
||||||
failed |
#739089
external
retried
|
ERP5.PerformanceTest-Master |
00:43:10
|
||||||
failed |
#739223
external
retried
|
ERP5.PerformanceTest-Master |
00:43:09
|
||||||
failed |
#739071
external
retried
|
ERP5.UnitTest-Master |
03:45:22
|
||||||
failed |
#739214
external
retried
|
ERP5.UnitTest-Master |
04:35:36
|
||||||
passed |
#739079
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:38
|
||||||
passed |
#739191
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:16
|
||||||
passed |
#739116
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:16:10
|
||||||
passed |
#739179
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:14:30
|
||||||
passed |
#739099
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:16:05
|
||||||
passed |
#739129
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:16
|
||||||
passed |
#739209
external
retried
|
Wendelin.UnitTest-Master |
00:51:13
|
||||||
passed |
#739090
external
retried
|
Wendelin.UnitTest-Master |
00:43:31
|
||||||