COU-601 - The creation of multiple CourierWebserviceRepositoryProvider is not possible with one ExecutionContext

Created by Shannon Deminick 26 Jul 2017, 05:43:41 Updated by Claus Jensen 09 Aug 2017, 07:03:37

Subtask of: COU-521

There is a bug in normal Courier when it tries to read all providers configured in the courier.config. This is because if there are more than one provider listed (which there generally will be), the logic to get/create an instance of CourierWebserviceRepositoryProvider is cached in the ExecutionContext meaning that when it tries to get a new instance of CourierWebserviceRepositoryProvider for each item configured in courier.config, it will actually just keep getting the same/single instance

Instances of CourierWebserviceRepositoryProvider should be transient and not cached at all.


Shannon Deminick 26 Jul 2017, 05:44:02

Fixed in rev:

Claus Jensen 09 Aug 2017, 07:03:31


Priority: Normal

Type: Bug

State: Fixed




Backwards Compatible: True

Fix Submitted:

Affected versions: 3.1.3

Due in version: 3.1.4

Sprint: Sprint 65

Story Points: 1

Cycle: 3