andrzejkupczyk / mantisbt-todolists

To-Do Lists Plugin for MantisBT
Apache License 2.0
12 stars 3 forks source link

Can't delete tasks and edit task. Only create #29

Closed VadimVadimych closed 2 years ago

VadimVadimych commented 2 years ago

Describe the bug I can't delete tasks. When editing, they are not edited, but a new one is created Language is Russian

To Reproduce Steps to reproduce the behavior:

  1. Go to 'View Issue/View Issue Details/Things to do'
  2. Write name of task, Click on 'Add'
  3. Click on 'Remove'
  4. Nothing happens
  5. Click 'Edit task'
  6. After edit, the old one remains and a new one is created with the edited name

Expected behavior I assumed that editing only changes the name

Screenshots screenshots below

Environment (please complete the following information):

Additional context Add any other context about the problem here. 1 2 3 4 5

andrzejkupczyk commented 2 years ago

@VadimVadimych thank you very much for the detailed information you have given!

Unfortunately, I was unable to reproduce this error. Could you please repeat the above steps with the dev console opened? Maybe we can find a clue in the "console" or "network" tab. Thanks in advance.

VadimVadimych commented 2 years ago

@andrzejkupczyk Maybe we can find a clue in the "console" or "network" tab. Thanks in advance.

Thank you for responding so quickly! output in the console at the moment of deletion: new.kof-palitra.ru-1642514711660.log

and from 'network':

6

andrzejkupczyk commented 2 years ago

This is weird 🤔 I will try to find the cause and fix the problem as soon as possible, but in the meantime could you please show me contents of the "Payload" tab as well?

VadimVadimych commented 2 years ago

I don't understand it myself. 7

andrzejkupczyk commented 2 years ago

Thank you very much. At least now we know that it is related to front-end.

VadimVadimych commented 2 years ago

I translated strings into Russian, in case someone might need it strings_russian.txt

andrzejkupczyk commented 2 years ago

Hey @VadimVadimych 👋🏻 Once again thanks for reporting this issue and all your help. I've just released a new version v2.5.0. It contains changes which I hope fixes this problem. The Russian language is included as well 😉

Please verify if this fixes the bug because I was not able to reproduce it.

VadimVadimych commented 2 years ago

Hello Andrzej! Thank you so much for your time on this problem! Everything is working perfectly! Thank you again.