Open jeffsieu opened 2 years ago
No details provided by team.
[The team marked this bug as a duplicate of the following bug]
Violating the constraint "Constraint-Human-Editable-File" mentioned in module website
Expected
I wanted to test the error messages when I manually edit the json file to provide invalid values. When SPAM launches, it should detect that the data file contains such invalid values and notify the user.Actual
The data file is located in ./data as a .enc file which I could not manually edit and change to test the storage loading feature. Although there is the import feature that the team implemented well, I am unsure if the import feature and the initial storage load feature have the same implementation, and there is no way for me to catch the error which I expected to see.In addition, the files that I import are not the storage files that SPAM loads on start-up, hence testing on import files alone is not sufficient enough to prove that the initial load feature works on corrupted files.
Screenshots
[original: nus-cs2103-AY2122S1/pe-interim#2490] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
See here.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: [replace this with your explanation]
Issue
The data is encrypted in the file
addressbook.enc
. This is not in accordance to the constraintConstraint-Human-Editable-File
set "To allow advanced users to manipulate the data by editing the data file."Steps to reproduce
.data/
folderaddressbook.enc
file.Expected behaviour
Files not to be encrypted to allow advanced users to manipulate the data by editing the data file.
Actual behaviour
File cannot be edited meaningfully by the user
Screenshots