The issue at hand is that router.transitionTo('chat.index') gets aborted with isAborted: true on a specific forum, https://forum.finsweet.com, but works for other links like /categories or /users.
robertkibet has tried using router.transitionTo("chat.index").followRedirects(); as suggested by david, but still encounters the TransitionAborted error.
david confirmed that Discourse.lookup("service:router").transitionTo("chat.index") works on the meta forum, and suspects that the issue might be related to the user’s permissions or a customization on the https://forum.finsweet.com forum. robertkibet has confirmed that the chat page is available to the user and can be accessed manually by modifying the URL.
david suggested entering safe mode and running the command in the console to check if a theme or plugin customization is affecting the transition.
When I try to trigger urlMethod update, router.transitionTo('chat.index') it gets aborted isAborted:true, I can’t figure out why this is happening, kindly assist
on the other hand I am able to trigger and navigate using router.transitionTo('/categories') or router.transitionTo('/users'), so I am puzzled why specifically chat page fails to navigate to.
is there another way to trigger navigation? Maybe there is a more appropriate way to do this, what I am trying to achieve is clicking a custom button it takes the user to chat page. @david
Yes Sir, chat is available. I can actually manually navigate to the chat page by modifying the page url to https://forum.finsweet.com/chat and onload it gets redirected to https://forum.finsweet.com/chat/c/general/2
but doing Discourse.lookup("service:router").transitionTo("chat.index") fails
Could you try entering safe mode, and then running that command in the console? I wonder if a theme or plugin customization is affecting the transition