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.

Comments

Shannon Deminick 26 Jul 2017, 05:44:02

Fixed in rev: https://github.com/umbraco/UmbracoDeploy/commit/1245473a39868b1320da7a89e389604156132ffd


Claus Jensen 09 Aug 2017, 07:03:31

Tested


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty:

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 3.1.3

Due in version: 3.1.4

Sprint: Sprint 65

Story Points: 1

Cycle: 3