Skip to content

Able to edit student to result in duplicate #2

@constancensq

Description

@constancensq

Editing a student to an existing student is still allowed.

For adding, I am unable to add a student that has the same name, academic year and phone number, and cannpt add a student that has same name, academic year and email, as stated in the User guide.

However, I can edit a student to have the same name, academic year and phone number as an existing student.

Steps to reproduce:

  1. add n/Benjamin p/12345678 e/littleicemaiden@rocket.com ay/5 d1/1330 d2/1730 d3/1600 d4/1200 d5/110

  2. add n/Benjamin p/123456789 e/littleicemaidens@rocket.com ay/5 d1/1330 d2/1730 d3/1600 d4/1200 d5/110

  3. edit 10 p/12345678

  4. edit 10 e/littleicemaiden@rocket.com

See that there now exists duplicates in the system.

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions