Open eliztan opened 2 months ago
(I think you are the same person who raised issues for not being able to accept a gift when users are satisfied with the gift suggestion!) I suspect that there might be some issues in how you run the App which resulted in the GiftList not correctly being initiated? Check in the directory where you put the JAR file in, under the data folder, ensure that GiftList.txt
file is within it and not empty. DO NOT change the .txt files as this might lead to unintended consequences! Alternatively, copy the JAR file into a new empty folder, cd
into the path of the folder and run java -jar "[CS2113-T11-2][Flirt_and_Fork].jar"
. Ensure that the GiftList.txt
file is within the data folder (and not empty) after first starting the App. The following screenshot should be what will be seen if you run the find
command for ring
in gifts
:
[The team marked this bug as a duplicate of the following bug]
The Gift function does not work
When attemping to generate a
gift
idea using any of the gift keywords (gift
,gift female
,gift male
,gift unisex
), the only gift option that shows up is "null" unlike what the UG demonstrates.Steps to replicate:
- Type in any of the
gift
commands.
[original: nus-cs2113-AY2324S2/pe-interim#1773] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Hello! I think you are the same person who wrote several bug reports regarding access issues of the
gift
function (particularly might be because the database was not correctly initialised on your end), so I'm going to copy-paste my same response: I suspect that there might be some issues in how you run the App which resulted in the GiftList not correctly being initiated? Check in the directory where you put the JAR file in, under the data folder, ensure thatGiftList.txt
file is within it and not empty. DO NOT change the .txt files as this might lead to unintended consequences! Alternatively, copy the JAR file into a new empty folder,cd
into the path of the folder and runjava -jar "[CS2113-T11-2][Flirt_and_Fork].jar"
. Ensure that theGiftList.txt
file is within the data folder (and not empty) after first starting the App. Do let us know if thegift
function still does not work after trying the abovementioned!You should be receiving the following outputs:
Items for the Tester to Verify
:question: Issue duplicate status
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]
When attempting to
find
agift
, no inputted keyword works and no gifts will pop up, even when inputting the keywordring
that was demonstrated in the UG.Steps to replicate:
find
commandgift