Actions
Emulator Issues #10244
closedES_DeleteTicket's implementation is completely wrong
% Done:
0%
Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
Yes
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-3640
Description
There's not a single thing done right in its implementation.
- It should take a ticket view, not a title ID.
- It's missing a lot of checks.
- It's not deleting tickets properly.
- It's not deleting only the ticket it needs to delete.
- It should not return -1017 when the ticket doesn't exist.
- It's not returning the proper error code when a read/write fails.
- It's not cleaning up the ticket directory if there is no file left in it.
Actions