nus-cs2103-AY1920S2 / pe-dev-response

0 stars 0 forks source link

Requirement does not properly show the modules that are assigned under it #2561

Open nus-pe-bot opened 4 years ago

nus-pe-bot commented 4 years ago

By adding a new requirement, the modules assigned under SS0 in the description box does not show the other modules assigned to this requirement

Screen Shot 2020-04-17 at 2.49.20 PM.png


[original: nus-cs2103-AY1920S2/pe-interim#2555]

nathanaelseen commented 4 years ago

Team's Response

Hi tester,

Thanks for testing our product. This behaviour is intended.

The modules listed under this message; 'Some modules have already been assigned...', are actually the modules which the user tries to 'reassign' to that requirement, using the requirement assign command. (They are not a list of all modules which are already under that requirement.)

In the case where the user tries to 'reassign' modules to a requirement, the requirement assign command will stop those modules that have already been assigned to the requirement, and reflect it under that message; 'Some modules have already been assigned'.

In the example you have illustrated, there are no such modules, which the user tries to 'reassign', in the requirement assign command, hence no module(s) are reflected under that list.

Since, the behaviour is intended, I'm rejecting this issue as a bug.

Duplicate status (if any):

--