# שגיאת 'TransitionAborted' טריוויאלית בקונסול לאחר לחיצה על כפתור הצ'אט מהסרגל הצדדי

**URL:** https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115
**Category:** Bug
**Tags:** chat
**Created:** [20 בפברואר,‏ 2024,‏ 10:41pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115 "2024-02-20T22:41:58Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [20 בפברואר,‏ 2024,‏ 10:41pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/1 "2024-02-20T22:41:59Z")

</div>

It does happen when you have `chat separate sidebar mode` setting to `always`, and when you click on the button from the sidebar.

The chat route _doesn’t fail_; the chat opens, but it still throws an error in the console:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/d/9/8d97c5c63c1a86fa6dde1aa1948761a1c6bec8f5.png)

It seems `async/await` is the issue (introduced recently [here](https://github.com/discourse/discourse/commit/8abc7baf7cb9add7a1e2ba1d4477923aa0dc21e2)).

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [21 בפברואר,‏ 2024,‏ 2:08am UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/3 "2024-02-21T02:08:56Z")

</div>

Maybe that is the problem @ranjeet reported here [Chat buttons not working](https://meta.discourse.org/t/chat-buttons-not-working/295719)

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [21 בפברואר,‏ 2024,‏ 2:18am UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/4 "2024-02-21T02:18:04Z")

</div>

Good point. I can’t reproduce his issue, though.

I can see why he got the error when he hit the same button as me, but the other places don’t seem directly related. 🤔 For example, the chat icon at the top doesn’t use the same way to redirect to the chat page.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 בפברואר,‏ 2024,‏ 12:26pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/5 "2024-02-22T12:26:59Z")

</div>

I can’t reproduce this issue, locally or on meta.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 בפברואר,‏ 2024,‏ 12:49pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/6 "2024-02-22T12:49:35Z")

</div>

OK I understood; it’s when you have no public channels.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [22 בפברואר,‏ 2024,‏ 1:05pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/7 "2024-02-22T13:05:12Z")

</div>

That’s odd, I do have one, I believe. 🤔

[Safe mode](https://meta.discourse.org/t/53504?silent=true) on themes, and all plugins disabled. Chat settings are all default except `chat separate sidebar mode.`

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 בפברואר,‏ 2024,‏ 1:05pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/8 "2024-02-22T13:05:14Z")

</div>

This should be fixed by:

[https://github.com/discourse/discourse/pull/25814](https://github.com/discourse/discourse/pull/25814)

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [22 בפברואר,‏ 2024,‏ 1:16pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/9 "2024-02-22T13:16:28Z")

</div>

I tried the change manually, but I still get the error 🤔 :

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/9/5/895bc03f5e441ed39de63ca142310cb888a4c455.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/e/f/def70743f441edcea9f624eb14e2c4c62baa4f6e.png)

I will try to unload all the plugins or try a new dev instance.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [22 בפברואר,‏ 2024,‏ 1:22pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/10 "2024-02-22T13:22:29Z")

</div>

Don’t know, all I can say is that I could repro before, and I can’t after this change.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [22 בפברואר,‏ 2024,‏ 2:44pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/11 "2024-02-22T14:44:11Z")

</div>

No worries, thanks. I don’t know what’s going on either. 😅

I tried again with only the default plugins and [safe mode](https://meta.discourse.org/t/53504?silent=true) on themes. I get the same result.

EDIT:

I wanted to delete all the channels. I started with the Staff channel and got an error on deletion.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/b/b/9bb1eeb3a5c33a5d51660f14e1613885710e435f.png)

I could still delete all the channels (even though I got errors with Staff and General).  
I created again only one public channel General, and I still get the error:

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/0/d/40dc3f8c29a15d9441ffc712ee8191950835ea68.png)

My dev instance is up to date without any plugins/themes.  
I will reset my dev instance; I don’t know if something went wrong with the DB or something else.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [22 בפברואר,‏ 2024,‏ 4:15pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/12 "2024-02-22T16:15:01Z")

</div>

To give another example of a different context, I upgraded a production Discourse from 3.2.0-dev4 to the latest (which includes the fix), and the error happens as well. (it was working fine before the upgrade)

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/4/4/24466758c9f4938b8df0cb1bb1a22eb6afc8fd66.png)

Sorry for not giving any helpful information. I will try to investigate and will get back to you if I figure out something.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [22 בפברואר,‏ 2024,‏ 5:52pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/13 "2024-02-22T17:52:21Z")

</div>

Hello, I can repro it on Meta too.

Repro:

1. Set chat to drawer mode
2. Show separate sidebar modes for forum and chat
  - When chat is in fullscreen OR
  - Always

3. Click sidebar Chat

When I open the full page chat with the sidebar button, I don’t see the error.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [22 בפברואר,‏ 2024,‏ 6:03pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/14 "2024-02-22T18:03:31Z")

</div>

Thanks, Don; I just realized we can set the mode on the user’s preference page. 😄  
At least, I’m not crazy.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [23 בפברואר,‏ 2024,‏ 3:45pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/15 "2024-02-23T15:45:29Z")

</div>

This error is really harmless and is expected, I will just silence it:

[https://github.com/discourse/discourse/pull/25841](https://github.com/discourse/discourse/pull/25841)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [24 בפברואר,‏ 2024,‏ 3:46pm UTC](https://meta.discourse.org/t/trivial-transitionaborted-error-in-the-console-after-clicking-on-the-chat-button-from-the-sidebar/296115/16 "2024-02-24T15:46:27Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
