"Local datacenter is not specified" message is logged if user specifies it with the default execution profile

Description

The warning introduced in is being logged if the user specifies the default LBP via execution profiles (by configuring the default profile). This is due to the fact that we are initializing and disposing the policies created by default in the Policies class even though they will never be used when different ones are set on the default profile.

We should fix this by removing this duplication (maybe setting Policies properties to the policies that were set on the default profile?) but a quick fix is also possible if we remove this from session init:

And remove this from session dispose:

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Reproduced in

Fix versions

Sprint

Affects versions

Priority

Created November 7, 2019 at 2:59 PM
Updated March 24, 2020 at 7:22 PM
Resolved March 24, 2020 at 7:22 PM