Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PE-D][Tester D] IC_NUMBER parameter invalid reordering #211

Closed
soc-se-bot opened this issue Apr 5, 2024 · 1 comment
Closed

[PE-D][Tester D] IC_NUMBER parameter invalid reordering #211

soc-se-bot opened this issue Apr 5, 2024 · 1 comment
Assignees
Labels
type.bug Something isn't working type.documentation Improvements or additions to documentation
Milestone

Comments

@soc-se-bot
Copy link

Current Behaviour

Reordering the parameters of addnote gives an error message.

Expected Behaviour

Reordering the parameters of addnote should not give an error message.

Steps to reproduce

  1. Enter addnote n\text to add S1234567A

image.png

  1. An error message appears IC number should start with one letter (S,T,F,G,M) followed by seven digits and one letter behind. It is case insensitive. An example is S1234567A.

Why this is an issue

According to the user guide:

  1. Parameters can be in any order.
  2. Words in UPPER_CASE are the parameters to be supplied by the user.
  3. The format of add note is addnote IC_NUMBER n\NOTE [-replace]

Since IC_NUMBER is in upper case, it is a parameter by statement 2.

And parameters can be in any order, by statement 1.

So, by reordering the parameters, addnote n\NOTE IC_NUMBER should also be a valid format.

So the behaviour does not work as expected.

Suggested change

Update the user guide that the parameter IC_NUMBER without i\ must be in a specified order.


Labels: severity.Medium type.DocumentationBug
original: tituschewxj/ped#11

@drustanyjt
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type.bug Something isn't working type.documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants