You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been some time since I've looked at router.js but while trying to develop a plugin which would make use of the plugin routing I noticed a few problems:
arguments being parsed as args but raw arguments are still passed to functions
The code assumes that only the last argument is may be null, this is not necessarily the case
Plugin routing via the handlePluginRouter function does not appear to reset the _canNavigate property in the same way the handleId function does
_isCircularNavigationInProgress is undefined until it's set, the code is going into the block on line 48-51 when it should not be
The text was updated successfully, but these errors were encountered:
- arguments were being parsed as args but raw arguments are still passed to functions
- The code assumed that only the last argument is may be null, this is not necessarily the case
- Plugin routing via the handlePluginRouter function did not appear to reset the _canNavigate property in the same way the handleId function does
- Tidied the check on _isCircularNavigationInProgress
It's been some time since I've looked at
router.js
but while trying to develop a plugin which would make use of the plugin routing I noticed a few problems:arguments
being parsed asargs
but rawarguments
are still passed to functionsnull
, this is not necessarily the casehandlePluginRouter
function does not appear to reset the_canNavigate
property in the same way thehandleId
function does_isCircularNavigationInProgress
is undefined until it's set, the code is going into the block on line 48-51 when it should not beThe text was updated successfully, but these errors were encountered: