You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the UG, it is stated "Each ID is made of two hexadecimal numbers separated by a hyphen [hex]-[hex] .
Each ID must be unique among all person entries.
The value of the ID does not matter, so it can have any value, so long as each ID is unique
among all person entries.
If a person belongs to a group, then the person must have an ID and this ID must also
appear in that group’s groupMateIds JSON array."
However, when I edit both the ID for the person and the ID in the group to be the same in the JSON, the next startup starts with the empty data instead, which is not the expected case.
Steps to reproduce:
Start fresh with sample data.
joinG p/1 p/2 g/1
exit
Open the json, below is the current IDs.
Edit the underlined json as such
Save.
Start the jar file again.
Expected behaviour is that the app still works because both IDs still match up but in fact it is treated as an error and the data is reset.
The text was updated successfully, but these errors were encountered:
We actually expected this error. We even wrote tests for it:
It uses LocalDate and LocalTime internally, so there is a maximum. This is intended behaviour when the maximum is exceeded because the IDs would not be valid. We just did not specify this in the User Guide, so we are changing it to a DocumentationBug.
Items for the Tester to Verify
❓ Issue type
Team chose [type.DocumentationBug]
Originally [type.FunctionalityBug]
I disagree
Reason for disagreement: [replace this with your explanation]
In the UG, it is stated "Each ID is made of two hexadecimal numbers separated by a hyphen [hex]-[hex] .
Each ID must be unique among all person entries.
The value of the ID does not matter, so it can have any value, so long as each ID is unique
among all person entries.
If a person belongs to a group, then the person must have an ID and this ID must also
appear in that group’s groupMateIds JSON array."
However, when I edit both the ID for the person and the ID in the group to be the same in the JSON, the next startup starts with the empty data instead, which is not the expected case.
Steps to reproduce:
Expected behaviour is that the app still works because both IDs still match up but in fact it is treated as an error and the data is reset.
The text was updated successfully, but these errors were encountered: