Yoshi275 / pe

0 stars 0 forks source link

Cannot add to template list that is empty #20

Open Yoshi275 opened 4 years ago

Yoshi275 commented 4 years ago

image.png

nus-pe-bot commented 4 years ago

Team's Response

I assume the tester was referring to the template "hi" when referring to the "template list". I suspect that the template "hi" might not actually be empty based on the error shown in the screenshot.

To clarify, even if the list shown under the TemplateItem label on the right is empty, it does not mean the template is empty. This is the case even if you click on the template in the templatelist. To view the exact contents of the template, the following command must be called: tlist template list 1

The following describes how the command behaves to better illustrate why I think the template might not be empty. (1) Adding an item to an empty template

Screen Shot 2019-11-16 at 8.43.41 PM.png

tlist template add n/Chicken a/300g Screen Shot 2019-11-16 at 8.44.09 PM.png

(2) Adding a non-unique item to the same template If the same command earlier was called again, the same error shown in the bug report will be shown as all items in the same template must be unique.

Screen Shot 2019-11-16 at 8.44.34 PM.png

This is the case even when an item with the same name but in lowercase is added. (shown below) Screen Shot 2019-11-16 at 8.44.45 PM.png

This is because checking of unique items is case-sensitive as described in the user guide. Screen Shot 2019-11-16 at 8.45.43 PM.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.CannotReproduce]

Reason for disagreement: [replace this with your reason]


:question: Issue severity

Team chose [severity.Low]. Originally [severity.High].

Reason for disagreement: [replace this with your reason]