Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to recognise two task with same index when deleting #2569

Open
nus-pe-bot opened this issue Apr 19, 2024 · 1 comment
Open

Unable to recognise two task with same index when deleting #2569

nus-pe-bot opened this issue Apr 19, 2024 · 1 comment

Comments

@nus-pe-bot
Copy link

nus-pe-bot commented Apr 19, 2024

image.png

image.png

There are 2 items with the same index here after I corrupted the file. Program does not identify this and proceeds to delete the first instance of index 1.


[original: nus-cs2113-AY2324S2/pe-interim#2563] [original labels: type.FunctionalityBug severity.Medium]
@ZhuSijia0711
Copy link

ZhuSijia0711 commented Apr 20, 2024

Team's Response

If you add tasks using the terminal, the task number will always be different(incremented) when new tasks are added. The issue you raised is because you edited the txt file that write into your local, which is not a expected action at all.

Duplicate status (if any):

Duplicate of #2450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants