shuyangk / pe

0 stars 0 forks source link

Having two different course attributes to be updated in localcourse produces unintended behaviour #3

Open shuyangk opened 10 months ago

shuyangk commented 10 months ago

When updating the attributes of a localcourse, if two attributes such as localcourse and units are entered as inputs, the program accepts it, and does not update the actual parameter inputted at the back. Perhaps when excessive inputs are entered as parameters the app could handle this as an invalid input.

image.png

In this case, cs1001 was updated with localcode becoming unit, while the intended new localcode is discarded.

image.png

nus-se-script commented 10 months ago

Team's Response

[unit] is interpreted as the argument to the parameter. Thus, it is correct behaviour that you are trying to update the localcode to the value unit, which is possible. For instance unit could be the course code for a course on unit testing.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]