Trying to understand what happened here. Noticed that two sets of invoices have the same tasks applied to them (contain the same tasks). This shouldn’t be possible, yet somehow, it has happened.
Task 0458 Appears on both invoice 3302 and 3303
Task details list it belongs to invoice 3303
however, when I go to invoice 3302, the task appears there as well, if I follow its > on invoice 3302, it opens the invoice detail, if i follow the three dots to the right of the task there and select “view task”, it takes me to the same task detail for task 0458 that lists invoice 3303 as the invoice it appears on.
how??
same thing with task 0490 (belongs to invoice 3302 and 3303
then task 0482 belongs to invoice 3305, but also appears on invoice 3304
same thing, if I follow the links for the task from within invoice 3304, it leads to task detail that then lists invoice 3305
This shouldn’t be possible, yet there it is.
Good thing my client caught it and didn’t pay the duplicates! I did not think I needed to check for this.
How do I resolve this, and also make sure this strange duplication is not happening on any other invoices?
I have no idea how I would reproduce the issue, because I have no clue how it happened in the first place. Tried by creating a test task, added test task to invoice. I now can’t add it to another invoice, which is the expected behavior. But clearly, somehow, this has happened and I have no clue how.
The invoices in question were issued in April 30th, so I honestly don’t remember if I did anything differently that day. Not that I recall.
It may help to update to the latest version of the backend.
If you’re able to provide steps to replicate the issue it would be helpful.
I think I can recreate this on the react app. I’ll check in a fix.