erp5_web_renderjs_ui: router: do not crash when navigating back to an hidden view
Some erp5 view action use a TALES expression to be visible only in draft state. When validation a workflow transition dialog, ERP5JS tries to go back to the previous view which is now hidden. In such case, switch back to the default document view.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#228095
external
|
ERP5.CodingStyleTest-Master |
02:21:42
|
||||||
passed |
#228092
external
|
ERP5.PerformanceTest-Master |
00:23:59
|
||||||
failed |
#228109
external
|
ERP5.UnitTest-Master |
04:55:13
|
||||||
passed |
#228094
external
|
ERP5.UnitTest-Master.Medusa |
03:21:10
|
||||||
passed |
#228084
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:09:50
|
||||||
passed |
#228073
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:27:19
|
||||||