GithubHelp home page GithubHelp logo

Comments (1)

nus-se-script avatar nus-se-script commented on August 12, 2024

Team's Response

Same issue as #1744

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Order of parameters needs to be enforced unlike stated

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.



Description:

UG stated that order of parameters can be in any order but this is untrue for the edit command.

Edit commands uses a phone or email parameter to identify the customer and edit details using other parameters.

Switching the order of the parameters as stated in the UG resulted in errors.

UG needs to specify the need for these parameters to be strictly infront and not generalised as per other commands.

This command or this note itself is quite crucial when it comes to user's expected behaviour of the app hence i rated it a medium severity

Steps to reproduce:

  1. add n/John Doe p/98765432 e/[email protected] m/1 r/5000 t/GOLD t/MEMBER

  2. edit r/300 p/98765432

Expected:

Customer with phone number 98765432 's reward to change to 300.

Actual:

Screenshot 2022-11-11 at 5.37.44 PM.png

Screenshot 2022-11-11 at 5.32.50 PM.png

Screenshot 2022-11-11 at 5.32.23 PM.png


[original: nus-cs2103-AY2223S1/pe-interim#2254] [original labels: severity.Medium type.DocumentationBug]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

The Note you highlighted is only applicable for the add command, and not for the edit command, as depicted in the different subsections. Our edit command does require stricter enforcement regarding the ordering since we use phone number or email address as identification, thus it should come first, as shown in our many examples.

Items for the Tester to Verify

❓ Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

  • I disagree

Reason for disagreement: [replace this with your explanation]


❓ Issue response

Team chose [response.Rejected]

  • I disagree

Reason for disagreement: > The Note you highlighted is only applicable for the add command, and not for the edit command, as depicted in the different subsections

The developers seem to have misunderstood where the note about the order of parameters is found. Here's a fuller screenshot:

image.png

As can be seen here, the note is found in section 2 and it explains about how command formats are specified in the entire UG, not for the add command in particular (which is section 2.1). Hence the statement that parameter order doesn't matter is incorrect. The instruction should instead have clarified that the edit command is an exception to this rule so as to not confuse the reader.


❓ Issue severity

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

  • I disagree

Reason for disagreement: This is not just a cosmetic issue as it impacts the user's understanding of how the commands work. This error could cause users to be mistaken that parameters to all commands can be supplied in any order when in fact this is not true


from pe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.