TastyIgniter icon indicating copy to clipboard operation
TastyIgniter copied to clipboard

Automatic order assignment working partially

Open BreakSecurity opened this issue 3 years ago • 3 comments

Expected Behaviour Automatic order assignment should work fine

Actual behaviour Currently the automation system automatically assigns the orders to the different users trough automation rules. immagine immagine

However, the selected options in groups settings are NOT correctly implemented (such as round robin or load balanced)

Reproduce steps

  1. Once you have created at least two users for a group of deliverers, set the following options immagine

  2. Keeping both deliverers online and available, place a series of orders. Contrary to how it should be, orders are not assigned circularly to both deliverymen, but are only assigned to the same deliveryman.

Version RC

BreakSecurity avatar May 22 '21 14:05 BreakSecurity

So here more details to you...

Expected Behaviour If automatic order assignment is on, incoming orders should be assigned to several delivery drivers in a circular fashion

Actual behaviour Orders that arrive are always assigned to the same delivery person, regardless of the settings selected

Reproduce steps

  1. Set up the automatic assignment to the different deliverymen correctly immagine immagine immagine immagine

  2. Place several delivery orders, with at least 2 deliverymen online on 2 different browsers immagine immagine

  3. As you can see, all orders have been assigned to the same delivery boy, even though he is not the only one available immagine

  4. At this point I carry out the same test, but setting a lower limit of orders for each delivery man; in fact, this number can be modified whatever the selected mode is (round Robin or Load Balanced) immagine

The result is always the same: all orders are assigned to the same delivery boy immagine

BreakSecurity avatar Jun 02 '21 11:06 BreakSecurity

Did you apply this patch? https://github.com/tastyigniter/TastyIgniter/commit/6744e2b186eac2f8dc15ec86329bafd2af6c7002

sampoyigi avatar Jun 04 '21 22:06 sampoyigi

Yep I applied the patch

BreakSecurity avatar Jun 10 '21 12:06 BreakSecurity