Backport of !678 (Add validation of configuration variables) to 1.2 branch.
Description
Backport of !678 (merged) to 1.2 branch.
This merge request, when approved, will close issue/bug:
Backport of !678 (merged) to 1.2 branch.
This merge request, when approved, will close issue/bug: