mattermost-plugin-todo icon indicating copy to clipboard operation
mattermost-plugin-todo copied to clipboard

Adding a ToDo does not work when using "Add to Thread" option

Open DHaussermann opened this issue 3 years ago • 2 comments

When a user creates a ToDo from a post in Mattermost AND checks the option for "Add to thread" a JS error occurs and the save is non functional. image I also see a message regarding username. [Util] handleError:: Uncaught TypeError: Cannot read properties of null (reading 'username') Note this happens regardless of weather or not the ToDo is assigned to anyone.

Steps:

  • Deploy a build that include the UX overhaul (Can use master)
  • Make a post
  • Click the action to add a ToDo
  • Check the box to add the post to the thread
  • Click Save Observed: JS error occurred and save has failed.

DHaussermann avatar Aug 24 '22 16:08 DHaussermann

@asaadmahmood This seems like it occurs only after the UX changes. Let me know if you're able to take a look.

DHaussermann avatar Aug 24 '22 16:08 DHaussermann

@DHaussermann I tried to test and reproduce the above issue but i was not able to do so.

Steps that were followed:-

  • Deployed a build from the master branch
  • Created a post in channel
  • From the action menu, added a todo of the same post.
  • Checked the add to thread checkbox and saved.

The ToDo got saved and was reflecting in RHS. cc: @ayusht2810

AayushChaudhary0001 avatar Apr 15 '24 12:04 AayushChaudhary0001