Skip to content

[Feaure Flaw] Unable to Delete Valid Session ID #12

@iuhiah

Description

@iuhiah

To duplicate: Logs have been pasted at the bottom of this issue. I have not figured out which command is causing the issue exactly and have tried skipping some (of the many) steps to replicate the issue, but so far I have only achieved the error by following the command history exactly. The logs begin from a initial clean state (i.e. populated with sample data).

Error:
image.png
As shown in the photo, Session 2 for Household ID H0000001 exists, but the command fails with the error claiming that the session does not exist.

CLI Logs:

INFO: ----------------[USER COMMAND][list]
Apr 04, 2025 10:30:01 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: Listed all households.
Total households: 3
Apr 04, 2025 10:30:10 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000001 Tan a/p]
Apr 04, 2025 10:30:10 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000001 Tan a/p
Apr 04, 2025 10:30:19 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000001 Tan a/pedit id/H000001]
Apr 04, 2025 10:30:19 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: Edited Household: Household H000001: Tan Family at pedit (Contact: 91234567) Tags: [elderly] [priority]
Apr 04, 2025 10:30:24 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000001]
Apr 04, 2025 10:30:24 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000001
Apr 04, 2025 10:30:25 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000001]
Apr 04, 2025 10:30:25 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000001
Apr 04, 2025 10:30:31 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000005]
Apr 04, 2025 10:30:31 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000005
Apr 04, 2025 10:30:42 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000005 n/a]
Apr 04, 2025 10:30:42 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000005 n/a
Apr 04, 2025 10:30:45 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][edit id/H000005 n/]
Apr 04, 2025 10:30:45 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: edit id/H000005 n/
Apr 04, 2025 10:30:55 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000001 d/2024-02-30 tm/14:30]
Apr 04, 2025 10:30:55 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: add-s id/H000001 d/2024-02-30 tm/14:30
Apr 04, 2025 10:31:01 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000001 d/2024-02-29 tm/14:30]
Apr 04, 2025 10:31:01 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: add-s id/H000001 d/2024-02-29 tm/14:30
Apr 04, 2025 10:31:08 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000001 d/2028-02-29 tm/14:30]
Apr 04, 2025 10:31:08 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: New session added to household H000001: Session for H000001 on 2028-02-29 at 14:30
Apr 04, 2025 10:31:13 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000002 d/2028-02-29 tm/14:31]]
Apr 04, 2025 10:31:13 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: add-s id/H000002 d/2028-02-29 tm/14:31]
Apr 04, 2025 10:31:15 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000002 d/2028-02-29 tm/14:31]
Apr 04, 2025 10:31:15 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: New session added to household H000002: Session for H000002 on 2028-02-29 at 14:31
Apr 04, 2025 10:31:22 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000001 d/2025-05-15 d/2025-05-15 tm/14:30]
Apr 04, 2025 10:31:22 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: New session added to household H000001: Session for H000001 on 2025-05-15 at 14:30
Apr 04, 2025 10:31:23 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][add-s id/H000001 d/2025-05-15 d/2025-05-15 tm/14:30]
Apr 04, 2025 10:31:23 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: add-s id/H000001 d/2025-05-15 d/2025-05-15 tm/14:30
Apr 04, 2025 10:31:43 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][delete-s id/H00001-2]
Apr 04, 2025 10:31:43 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: delete-s id/H00001-2
Apr 04, 2025 10:31:48 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][delete-s id/H000001-2]
Apr 04, 2025 10:31:48 PM seedu.address.ui.MainWindow executeCommand
INFO: Result: Deleted session 2 from household H000001: Session for H000001 on 2025-05-15 at 14:30
Apr 04, 2025 10:31:49 PM seedu.address.logic.LogicManager execute
INFO: ----------------[USER COMMAND][delete-s id/H000001-2]
Apr 04, 2025 10:31:49 PM seedu.address.ui.MainWindow executeCommand
INFO: Invalid command: delete-s id/H000001-2
Apr 04, 2025 10:32:14 PM seedu.address.MainApp stop

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions