Bug 304 - Combo Item accepts empty list.
Summary: Combo Item accepts empty list.
Status: RESOLVED FIXED
Alias: None
Product: Group20
Classification: Unclassified
Component: ComboItem (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal enhancement
Deadline: 2019-11-06
Assignee: Anders
URL:
Depends on:
Blocks:
 
Reported: 2019-11-05 18:00 HKT by awkakavou2-c
Modified: 2019-11-26 12:21 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description awkakavou2-c 2019-11-05 18:00:16 HKT
I noticed that when making a discount for a combo item the object accepts an empty list, I think that there should be some error message shown when no items are passed, since it wouldn't make sense to apply a discount to no items.
Comment 1 Anders 2019-11-25 18:15:36 HKT
An if-statement has been added to make sure, that the empty is not empty. The bug is solved and will be marked as fixed.