Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Mattermost web crashes when removing the "I’ve deleted the reminder" post #132

Closed
YuKitAs opened this issue Jul 11, 2019 · 4 comments
Closed
Labels
Type/Bug Something isn't working
Milestone

Comments

@YuKitAs
Copy link
Contributor

YuKitAs commented Jul 11, 2019

Reproduce:

  1. Create a new reminder task
  2. In the reply "I will remind ***", click the Delete button below
  3. In the reply "I’ve deleted the reminder ***", click the x button at the right corner (in order to remove the post)
  4. Mattermost will jump to a blank page (/messages/@remindbot)

Expected:
The post will be removed normally.

Mattermost version: 5.12.1 (Webversion on Chrome and Firefox)

@scottleedavis scottleedavis added the Type/Question Further information is requested label Jul 11, 2019
@scottleedavis
Copy link
Owner

verified on 5.12.1. Discussion with mattermost team possible causes.

@scottleedavis
Copy link
Owner

Still no resolution, however I am tempted to create a simple plugin to replicate the issue to then present again to the team. The mattermost-plugin-demo does not have this issue and also uses ephemeral posts.

@YuKitAs
Copy link
Contributor Author

YuKitAs commented Jul 20, 2019

Hi, thanks for following up! My mattermost was upgraded to v5.13.1 but the issue still exists.
When I looked at the response for the blank page, the logs showed

{"level":"ERROR","message":"msg: Uncaught TypeError: Cannot read property 'id' of undefined row: 1 col: 402495 stack: TypeError: Cannot read property 'id' of undefined url: https://mattermost.gameforge.com/static/main.b9238839ce0ad2b12267.js"}"

@scottleedavis scottleedavis added Type/Bug Something isn't working and removed Type/Question Further information is requested labels Aug 7, 2019
@scottleedavis scottleedavis added this to the 0.4.3 milestone Aug 7, 2019
@scottleedavis
Copy link
Owner

@YuKitAs turns out it was a bug in the code. Fixed in v0.4.3
https://github.com/scottleedavis/mattermost-plugin-remind/releases/tag/0.4.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type/Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants