Open nus-pe-bot opened 2 years ago
Hotels should have standardised room numbers and hotel managers should be aware of them. It is unlikely that the hotel manager will mistype a room number, and if so, can be corrected easily using the edit command. Room numbers do not check for such user errors as hotels may have similar room numbers but be different rooms, and may not always be numeric. Hence, this is to allow more flexibility in the room numbers that our users are able to input.
--
Expected Behaviour
0-0
and0-00
should be considered as the same roomCurrent Behaviour
0-0
and0-00
are recognised as unique roomsHow to reproduce
add n/s p/123 e/1@test.com rm/0-0 dr/28/02/22 - 01/03/22 ng/2 rq/test
add n/q p/123 e/1@test.com rm/0-00 dr/28/02/22 - 01/03/22 ng/2 rq/test
Screenshots
[original: nus-cs2103-AY2223S1/pe-interim#4120] [original labels: type.FeatureFlaw severity.High]