SSirMentos / pe

0 stars 0 forks source link

Cannot addorder even though all fields are valid #2

Open SSirMentos opened 1 week ago

SSirMentos commented 1 week ago

Summary

Expected Behavior: Trying to add an order for a 50 cent coin and it should be successful as all of the fields are valid

Actual Behavior: However, upon trying to create, I cannot create an order as I am met with the following error Item can contain any printable characters, but it should not be blank. Clearly the fields are all printable


Steps to Reproduce

  1. addorder 3 i/ ¢50 coin d/20-12-2024 q/2

Screenshots

image.png

Reasoning for Severity

It can be replaced by word cents but however if the product or item consists of ¢, it might cause minor/occasional inconvenience.

soc-pe-bot commented 1 week ago

Team's Response

Given the nature of "printable characters" as stated in the error message, it is indicative that the item parameter of the order is limited to printable characters in ASCII, which is "all characters in the range from space (ASCII DEC 32) to tilde (ASCII DEC 126), which is the range of all printable characters".

However, we do acknowledge that the item name may be improved to accommodate for more characters allowed on typing, of which ¢ may be included.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]