Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In the RightSidePanel.js there is a method called close that will call state.go to navigate to the channel overview. When there are changes open in the rightside panel, then a dialog pops up that allows the user to save/discard changes or to cancel the navigation.
When the user chooses to cancel then the routing is cancelled by means of a rejected promise containing a instance of class Rejection. According to the router documentation there are several types of rejections See class Rejection.
When the user chooses to cancel I expected the rejection.type to be RejectType.ABORTED but instead it was RejectType.ERROR. This looks like to be a bug to me.
.
Attachments
Issue Links
- is a result of
-
CHANNELMGR-2421 Align beforeNavigation with new API spec
- Closed