Skip to content

Invalid Index Message for 'View' Could Be More Specific #7

Description

@ZaydM18

Screenshot 2025-04-04 at 4.55.02 PM.png

When assigning Nurses to Patients, invalid indices in either or both places lead to the exact same error message that is non-specific, and does not state which index (or if both) is wrong. Even though this is not a major error, it may frequently be encountered, especially if users also end up filtering the list using list nurse or list patient or otherwise.

To reproduce the behaviour type in:
assign 1 (valid) 10 (invalid)
assign 10 (invalid) 1 (valid)
assign 10 (invalid) 10 (invalid)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions