nus-tic4002-AY2021S2 / pe-dev-response

0 stars 0 forks source link

Rename feature cannot show the latest group name in the list #131

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

according to the example of the user guide: rename 1 g/PERFORMANCE Rename the group with index 1 into PERFORMANCE.

However, it shows a successful message but still not change the group name in the list(index 1) when I key in list.

image.png


[original: nus-tic4002-AY2021S2/pe-interim#131] [original labels: severity.High type.FunctionalityBug]

ZhengShijieNUS commented 3 years ago

Team's Response

Hi,

the group should be viewed by command "show". You use list command is just to list the persons. If the persons have not been assigned to any group, it won't be updated together with the group name changed. Btw, I did a test on this and it works normally.

To show my verification:

step 1: create 2 groups and named AA and BB respectively.

image.png

step 2: assign Alex Yeoh to group AA

image.png

step 3: rename group AA to PERFORMANCE, you can see the group that Alex in is updated.

image.png

step 4: using show command to show the current group list. The 1st group is updated with new name

image.png

Hope the above is clear and helpful to you.

Duplicate status (if any):

--