Project

General

Profile

Emulator Issues #10244

ES_DeleteTicket's implementation is completely wrong

Added by leoetlino over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% 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.

History

#1 Updated by Helios over 3 years ago

  • Status changed from New to Accepted
  • Assignee set to leoetlino

#2 Updated by leoetlino over 3 years ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-3640

Also available in: Atom PDF