gokiburikin / nyanpals

Placeholder repo for the nyanpals chat system. For now being used as an issue tracker.
0 stars 0 forks source link

[Server][Chat][Exception] leaving a channel that is currently focused, will cause an exception to occur #23

Closed nyanpasudo closed 8 years ago

nyanpasudo commented 8 years ago

Description

If a user leaves a channel that is currently focused, it will cause an exception to occur

UNHANDLED EXCEPTION ERROR: Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. url: https://nyanpals.com/nyanpals.js line: 2024 column: 31 error: NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. system@15:32 Please let a developer know about this!

Repro steps:

  1. Log into https://nyanpals.com
  2. type command /join thisisatest
  3. Once joined into new channel, select the "leave" option next to the channel name in the channel list.

Result exception handler message will appear

Expected behavior User should gracefully leave the channel

Repro rate 3/3 attempts

Attachments


image