When manually editing the saved data in the database, it is possible to get the program to have duplicate recipe names as shown below.
However, the program does not usually allow duplicate recipe names, as seen from the error message when another recipe named "n6" is being added from the program itself.
This is an inconsistency in the program logic, given that the documentation states that being able to manually edit the .txt file database is allowed:
This can lead to issues with commands that rely on recipe names being unique, such as 'delete' as shown below.
This can lead to possible undefined behavior as the program flow has been disrupted, since duplicate entries are not usually intended.
When manually editing the saved data in the database, it is possible to get the program to have duplicate recipe names as shown below.
However, the program does not usually allow duplicate recipe names, as seen from the error message when another recipe named "n6" is being added from the program itself.
This is an inconsistency in the program logic, given that the documentation states that being able to manually edit the .txt file database is allowed:
This can lead to issues with commands that rely on recipe names being unique, such as 'delete' as shown below.
This can lead to possible undefined behavior as the program flow has been disrupted, since duplicate entries are not usually intended.