Open nus-pe-bot opened 3 years ago
Thank you for letting us know the bug :)
This may cause you minor inconvenience in situation like this. However, you may edit your component's weightage by setting it as 0 first, before setting it as the lower weightage you chose to change to.
Nonetheless, we recognise this and will make improvement on this in our future implementation.
--
Old components' weightages are supposed to be overwritten when a component with an existing name is added. However, when the total weightage already adds up to a hundred, trying to overwrite a component to a lower weightage does not work. The error states that the weightage cannot be negative or exceed a hundred, but overwriting a component to a lower weightage would not result in either.
[original: nus-cs2113-AY2021S2/pe-interim#1173] [original labels: severity.Medium type.FunctionalityBug]