nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

CHIM loads invalid name #1571

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

steps to reproduce:

Given this cheese in the data file

{
        "cheeseId": 1,
        "cheeseType": "_",
        "manufactureDate": "2020-3-10 00:00",
        "expiryDate": "2025-4-10 00:00",
        "isAssigned": false
}

The specifications however states "Cheese types should only contain alphanumeric characters and spaces, and it should not be blank". "_" is not an alphanumeric character (A-Z, a-z, 0-9) [this contradicts the 'alphanumeric' properties of tags, where you can't set "_"]


[original: nus-cs2103-AY2021S2/pe-interim#1571] [original labels: severity.Low type.FunctionalityBug]

aaronsms commented 3 years ago

Team's Response

Accepted. This is however the intended behavior and the documentation is to be updated. This is to support the cases where the users wants to label the cheese type by separating the type and its origin. For example, Brie_Australian.

Duplicate status (if any):

--