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.
Showing
-
Owner
@romain this is great !
I confirmed that this fixes https://erp5js.nexedi.net/#/bug_module/20200605-49C8A3?page=form&view=view
/cc @yusei
-
mentioned in merge request !1365 (merged)
Please register or sign in to comment