Open syj02 opened 6 months ago
Sorry we were not able to reproduce this bug, perhaps there are white spaces in your command 'deletemaintrip /n EuropeTrip2' which the app could not match to the actual trip EuropeTrip2.
Team chose [response.CannotReproduce
]
Reason for disagreement: 1. addmaintrip /n EuropeTrip /start 2024-05-01 /end 2024-05-14 /location Europe /d Holiday
and list
addmaintrip /n EuropeTrip2 /start 2024-05-15 /end 2024-05-31 /location Asia /d Holiday1
and list
addmaintrip /n test /start 2024-06-01 /end 2024-06-14 /location Canada /d Holiday2
and list
addmaintrip /n test2 /start 2024-06-15 /end 2024-06-30 /location US /d Holiday3
and list
deletemaintrip /n EuropeTrip
and list
In the above example, there is a duplicate of test
and missing EuropeTrip2
after deleting EuropeTrip
.
Another similar example of the bug above
addmaintrip /n test /start 2024-05-01 /end 2024-05-14 /location Europe /d Holiday
addmaintrip /n testa /start 2024-05-15 /end 2024-05-31 /location Asia /d Holiday1
addmaintrip /n testb /start 2024-06-01 /end 2024-06-14 /location Canada /d Holiday2
addmaintrip /n testc /start 2024-06-15 /end 2024-06-30 /location US /d Holiday3
and list
deletemaintrip /n test
and list
Similarly, missing testa
and duplicate of testb
after deleting test
.
From observations, this bug may occur when there are at least 4 trips, with 1 trip containing the exact string of the name of another trip (Example: test
and testa
) and it triggers this bug when these 2 trips are back-to-back.
I have 2 trips, "EuropeTrip" and "EuropeTrip2". Deleting "EuropeTrip" caused "EuropeTrip2" to be not found. It also led to an error in the trips list. Did not add another trip named "!!!!" but now I have 2 trips of this name.